Garry's Mod Wiki


boolean SANDBOX:PlayerSpawnVehicle( Player ply, string model, string name, table table )


Called to ask if player allowed to spawn a particular vehicle or not.


1 Player ply
The player that wants to spawn that vehicle
2 string model
The vehicle model that player wants to spawn
3 string name
Vehicle name
4 table table
Table of that vehicle, containing info about it


1 boolean
Return false to disallow spawning that vehicle

Page Links

Special Pages



Render Time: 41ms

Session 0
DB GetPage 5
Generate Html 7
SaveChanges 17
Render Body 0
Render Sidebar 11