From Garry's Mod
Called when a player attempts to spawn a prop from the Q menu.
The player who attempted to spawn a prop.
Path to the model of the prop the player is attempting to spawn.
Should the player be able to spawn the prop or not.
Stops non-admins from spawning props.
function GM:PlayerSpawnProp( ply, model ) if ( !ply:IsAdmin() ) then return false end end