SANDBOX:PlayerSpawnObject

From Garry's Mod
Jump to: navigation, search
 SANDBOX:PlayerSpawnObject( )

Contents

Description

Called to ask whether player is allowed to spawn any objects.

Arguments

Player ply

The player in question

Arguments

string model

Modelname

Arguments

number skin

Skin number

Returns

boolean

Return false to disallow him spawning anything
Personal tools
Navigation