Garry's Mod Wiki

util.IsValidRagdoll

  boolean util.IsValidRagdoll( string ragdollName )

Description

Checks if the specified model name points to a valid ragdoll.

Arguments

1 string ragdollName
Name/Path of the ragdoll model to check.

Returns

1 boolean
Returns true if the specified model name points to a valid ragdoll; otherwise false.