/fixcar command
#1

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;
     }
Reply
#2

SetVehicleHealth(playerid, 1000);
Quote:

Note: Full vehicle health is 1000.

says wiki
Reply
#3

You may like to use RepairVehicle instead, because it repairs the visual damage as well.
Reply
#4

Thanks, +1 Rep for both of you!
Reply
#5

Can people give rep if their posts are under 50?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)