SA-MP Forums Archive
car uncrash - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: car uncrash (/showthread.php?tid=405169)



car uncrash - Er@x3r - 05.01.2013

some1 know where can i get script with what if i crash my car automatly repair (like a god mod)


Re: car uncrash - Affan - 05.01.2013

Put this above your script, but below #include <a_samp>
pawn Код:
#include <zcmd>
Then anywhere except callbacks
pawn Код:
CMD:godcar(playerid, params[])
{
        SetVehicleHealth(GetPlayerVehicleID, 90000000);
        RepairVehicle(GetPlayerVehicleID);
}



Re: car uncrash - Er@x3r - 05.01.2013

thanks man +rep