How to create vehicle that will never respawn?
#1

Title says it all. Please help.
Reply
#2

http://lmgtfy.com/?q=sa-mp+no-respawning+car

Really.. have you heard of ******? There are lots of topics about it
Reply
#3

At the top of your script
pawn Код:
new Veh;
Fill the parameters,and create the vehicle via a command or what ever
pawn Код:
Veh = CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay);
If you don't know whats this put it at the bottom of your script.
pawn Код:
public OnVehicleDeath(vehicleid, killerid)
{
DestroyVehicle(Veh);
    return 1;
}
Reply
#4

Eh, no, when any vehicle gets destroyed it destroys Veh, so if i have a plane and a car, if the plane explodes, the car gets removed?!? I asked this yesterday and i got an answer: https://sampforum.blast.hk/showthread.php?tid=402260

Hope it helped, and please REP Lynn if it did, as it's his solution, and me too maybe because i posted this
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)