AddStaticVehicle
#1

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?
Reply
#2

Use AddStaticVehicleEx

Params are: (modelid, Floatpawn_x, Floatpawn_y, Floatpawn_z, Float:angle, color1, color2, respawn_delay)

Source: https://sampwiki.blast.hk/wiki/AddStaticVehicleEx
Reply
#3

I dont want the vehicle to respawn and thats why i asked if i use AddStaticVehicle then the vehicle will respawn or not.
Reply
#4

my vehicles are not respawning after some minutes. why it is like that??
Reply
#5

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.
Reply
#6

At the end, use -1 for the respawn time for AddStaticVehicleEx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)