Gamemode.PlayerSpawnedVehicle
From GMod Wiki
Revision as of 05:00, 23 June 2010 by Crazy Quebecer (Talk | contribs)
Event Hook | |
Hook Name | PlayerSpawnedVehicle |
Syntax | GM:PlayerSpawnedVehicle( Player Entity, Vehicle Vehicle, ) |
Description | Called when a player has already spawned a vehicle. Use this to record the vehicle's propid. Useful for prop protection. |
Returns | Nil |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.PlayerSpawnedVehicle]Gamemode.PlayerSpawnedVehicle [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- This hook gets called just after the vehicle is spawned.