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