Vehicle dissapear
#1

Hello everyone,

is it possible to disable the automatic vehicle respawn function? Like when I leave my car on a spot, and I walk a few streets further, and I walk back, my car is respawned at the start position. I need this function disabled.

Thanks already

Bas
Reply
#2

Try using AddStaticVehicleEx instead of AddStaticVehicle so you can set a spawn delay, like so.

pawn Код:
AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, -1);
The -1 at the end will mean it will never respawn unless it explodes or lands in water.
Reply
#3

You are the best!

Thanks!

Bas
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)