/fixcar command - 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: /fixcar command (
/showthread.php?tid=365358)
/fixcar command -
Armando B - 02.08.2012
i did this but it doesn't repair the car?
Код:
if(strcmp(cmdtext, "/fixcar", true) == 0)
{
SendClientMessage(playerid, 0xFFFFFFFF, "Vehicle Fixed!");
SetVehicleHealth(playerid, 100);
return 1;
}
Re: /fixcar command -
Roko_foko - 02.08.2012
SetVehicleHealth(playerid, 1000);
Quote:
Note: Full vehicle health is 1000.
|
says
wiki
Re: /fixcar command -
[KHK]Khalid - 02.08.2012
You may like to use
RepairVehicle instead, because it repairs the visual damage as well.
Re: /fixcar command -
Armando B - 02.08.2012
Thanks, +1 Rep for both of you!
Re: /fixcar command -
Matz - 02.08.2012
Can people give rep if their posts are under 50?