Gamemode.PlayerSpawnProp
From GMod Wiki
Event Hook | |
Hook Name | PlayerSpawnProp |
Syntax | GM:PlayerSpawnProp( Player ply, String mdl ) |
Description | Called when a player spawns a prop |
Returns | Boolean |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.PlayerSpawnProp]Gamemode.PlayerSpawnProp [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Return true to allow spawning the Prop, false for not allowing it
- This hook gets called just before the prop is spawned.