AddStaticVehicle - 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: AddStaticVehicle (
/showthread.php?tid=457871)
AddStaticVehicle -
Fernado Samuel - 13.08.2013
Hello
If i use CreateVehicle then i have to give a specified time for the vehicle respawn.
My question is if i use AddStaticVehicle then the vehicle wont respawn after a specified time?
Re: AddStaticVehicle -
DanishHaq - 13.08.2013
Use AddStaticVehicle
Ex
Params are: (modelid, Float

pawn_x, Float

pawn_y, Float

pawn_z, Float:angle, color1, color2,
respawn_delay)
Source:
https://sampwiki.blast.hk/wiki/AddStaticVehicleEx
Re: AddStaticVehicle -
Fernado Samuel - 13.08.2013
I dont want the vehicle to respawn and thats why i asked if i use AddStaticVehicle then the vehicle will respawn or not.
Re: AddStaticVehicle -
Fernado Samuel - 13.08.2013
my vehicles are not respawning after some minutes. why it is like that??
Re: AddStaticVehicle -
PrinceKumar - 13.08.2013
I haven't ever tried but think use respawn delay in - value , and see will it help or not cause - seconds never exists so i think it will never be spawned or pawn will give you error for using -value in respawn delay, i m not sure about it but try it once.
Edit : i think if there is not auto timer setted for this addstaticvehicle in samp... Then it will never respawn , because i use createdynamicvehicle funtion so don't know much about addstaticvehicle... Sorry i my information is wrong.
Re: AddStaticVehicle -
dannyk0ed - 13.08.2013
At the end, use -1 for the respawn time for AddStaticVehicleEx