Called when a player attempts to spawn a ragdoll from the Q menu.
1 Player ply
The player who attempted to spawn a ragdoll.
2 string model
Path to the model of the ragdoll the player is attempting to spawn.
Should the player be able to spawn the ragdoll or not.
Stops non-admins from spawning ragdolls.
function GM:PlayerSpawnRagdoll( ply, model ) if ( not ply:IsAdmin() ) then return false end end