08.04.2009, 21:16
CreateVehicle
This function can add vehicles to your gamemode. You can use it in opposite to AddStaticVehicle at any time in the script.
Parameters:
(modelid, Float
, Float:y,Float:z, Float:angle, color1, color2, respawn_delay)modelid The Vehicle ID for the vehicle.
Float:X The X-coordinate for the vehicle.
Float:Y The Y-coordinate for the vehicle.
Float:Z The Z-coordinate for the vehicle.
Float:angle The facing - angle for the vehicle.
color1 The primary color ID.
color2 The secondary color ID.
respawn_delay The delay until the car is respawned without a driver in seconds.
Returns The vehicle ID of the vehicle created.
FROM WIKI
This function can add vehicles to your gamemode. You can use it in opposite to AddStaticVehicle at any time in the script.
Parameters:
(modelid, Float

Float:X The X-coordinate for the vehicle.
Float:Y The Y-coordinate for the vehicle.
Float:Z The Z-coordinate for the vehicle.
Float:angle The facing - angle for the vehicle.
color1 The primary color ID.
color2 The secondary color ID.
respawn_delay The delay until the car is respawned without a driver in seconds.
Returns The vehicle ID of the vehicle created.
FROM WIKI