SA-MP Forums Archive
Need Help ! On Making Vehicle respawn delay - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need Help ! On Making Vehicle respawn delay (/showthread.php?tid=622252)



Need Help ! On Making Vehicle respawn delay - adri[4]Life - 20.11.2016

Hi Guys,
How To Add Respawn Delay 100 Second For Vehicles Like This
Код:
CreateVehicle(520, 1119.6509, 1926.4175, 17.7406, 93.0000, -1, -1, 100);



Re: Need Help ! On Making Vehicle respawn delay - Dayrion - 20.11.2016

Код:
CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay, addsiren=0)
modelid	The model 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. Using -1 will prevent the vehicle from respawning.
addsiren	Added in 0.3.7; will not work in earlier versions. Has a default value 0. Enables the vehicle to have a siren, providing the vehicle has a horn.



Re: Need Help ! On Making Vehicle respawn delay - iamjems - 20.11.2016

Your code should work fine...


Re: Need Help ! On Making Vehicle respawn delay - adri[4]Life - 20.11.2016

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
Код:
CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay, addsiren=0)
modelid	The model 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. Using -1 will prevent the vehicle from respawning.
addsiren	Added in 0.3.7; will not work in earlier versions. Has a default value 0. Enables the vehicle to have a siren, providing the vehicle has a horn.
Can u Explain please? i need automatic Vehicles respawn every 100 seconds Can Someone Helpme,?