Cars dissappear...
#2

AddStaticVehicleEx
Код:
Parameters:
modelid			The Model ID for the vehicle.
Float:spawn_X		The X-coordinate for the vehicle.
Float:spawn_Y		The Y-coordinate for the vehicle.
Float:spawn_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 minutes.

Returns			The vehicle ID of the vehicle created.
I believe it is in seconds instead of minutes, not sure thought but perhaps give it a try.


What you are looking for is the respawn_delay parameter, as you can see in your code's all your vehicle respawn within 3 seconds. Increase them to 60 and they will last for 1 minute (60 seconds).

Hope this helps.

Kind Regards,
Improvement™
Reply


Messages In This Thread
Cars dissappear... - by samtey - 15.08.2011, 14:37
Re: Cars dissappear... - by Improvement™ - 15.08.2011, 15:07
Re: Cars dissappear... - by =WoR=Varth - 16.08.2011, 02:39

Forum Jump:


Users browsing this thread: 1 Guest(s)