Gamemode.PlayerSpawnedSENT
From GMod Wiki
| Event Hook | |
| Hook Name | PlayerSpawnedSENT |
| Syntax | GM:PlayerSpawnedSENT( Player Player, Entity Entity ) |
| Description | Called when a player has already spawned a Scripted Entity. Use this to record the SENT's propid. Useful for prop protection. |
| Returns | Nil |
| Lua State | |
| BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.PlayerSpawnedSENT]Gamemode.PlayerSpawnedSENT [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Nos
- This hook gets called just after the SENT is spawned.