Vehicle ID problem.
#8

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
Reply


Messages In This Thread
Vehicle ID problem. - by Byrner - 08.04.2009, 20:27
Re: Vehicle ID problem. - by Rks25 - 08.04.2009, 20:44
Re: Vehicle ID problem. - by Byrner - 08.04.2009, 20:46
Re: Vehicle ID problem. - by Rks25 - 08.04.2009, 20:46
Re: Vehicle ID problem. - by Byrner - 08.04.2009, 20:59
Re: Vehicle ID problem. - by Rks25 - 08.04.2009, 21:00
Re: Vehicle ID problem. - by Byrner - 08.04.2009, 21:03
Re: Vehicle ID problem. - by Danand - 08.04.2009, 21:16
Re: Vehicle ID problem. - by Rks25 - 08.04.2009, 21:30

Forum Jump:


Users browsing this thread: 1 Guest(s)