Autorepair ....Help
#1

how do i add auto car repair in some places ? not full game only in some stunt places
Reply
#2

by using the search function and reading the section titles properly
Reply
#3

ahhaa :/ i tired this thing earlier i get nothing if any good scripter replies could be cool
Reply
#4

Quote:
Originally Posted by HaiderABbas
Посмотреть сообщение
ahhaa :/ i tired this thing earlier i get nothing if any good scripter replies could be cool
Why not think about, why it happens to you and fix it?
Reply
#5

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, x, y, z))
{
    RepairVehicle(GetPlayerVehicleID(playerid));
    SetVehicleHealt(GetPlayerVehicleID(playerid), 1000.0);
    return 1;
}
Add that to a timer and then make it check every X seconds. That way it'll automatically repair when in range of that place.
Reply
#6

thank u so much
Reply
#7

but it only fixes .....when car is on fire BTW +1
Reply
#8

http://forum.sa-mp.com/forumdisplay.php?f=12
Reply
#9

there is no post............like this..................so can u help do it ......i need autO repair all over my stunts
Reply
#10

Quote:
Originally Posted by HaiderABbas
Посмотреть сообщение
there is no post............like this..................so can u help do it ......i need autO repair all over my stunts
Get the coordinates of your stunting locations and use them on the code that is mentioned before.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)