15.08.2011, 15:07
AddStaticVehicleEx
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™
Код:
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.
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™