Call of Duty Script Documentation
spawnvehicle(<modelname>, <targetname>, <vehicletype>, <origin>, <angles>)
ModuleSpawn
Summary
Spawns a new vehicle and returns a reference to it
Minimum Number of arguments: 5
1 : <modelname> The name of the model to spawn (constant string)
2 : <targetname> vehicle target name (constant string)
3 : <vehicletype> vehicle type (constant string)
4 : <origin> The position of the vehicle (vector)
5 : <angles> The angle to spawn the vehicle at (vector)
Number of optional arguments: 0
Return to Function List