vehicles.PlayerSpawn
From GMod Wiki
Function | |
Syntax |
vehicles.PlayerSpawn( Player player, String vehicle_type, Vector position, Vector angle ) Where is this used? |
Description: | |
Creates a predefined vehicle. | |
Returns: | Entity vehicle |
Part of Library: | Vehicles |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Vehicles.PlayerSpawn]Vehicles.PlayerSpawn [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- vehicle_type must be a previously defined vname found in settings/vehicles.