how destroy a vehicle when hit health 1%?
#1

hey i dont want vehicle exploding in my server how can i make them get destroy when it hit a ammount in health like 1% then car will get destroy? +rep
Reply
#2

Reference: https://sampwiki.blast.hk/wiki/GetVehicleHealth

Quote:
Originally Posted by SA-MP Wiki
Tip: A vehicle catches on fire when its health is below 250. It will explode a few seconds later.
Reply
#3

Quote:
Originally Posted by Jack_Leslie
Посмотреть сообщение
thanks man +rep
Reply
#4

Better should be

Код:
public OnVehicleDeath(vehicleid, killerid)
{
DestroyVehicle(vehicleid);
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)