24.11.2011, 21:48
I fixed it this way.
Sorry for the lines but it changes it when i post it here.
pawn Код:
if (strcmp("/REPAIR", cmdtext, true, 10) == 0)
{
new vehicleid = GetPlayerVehicleID(playerid);
SetVehicleHealth(vehicleid, 1000.0);
SendClientMessage(playerid, COLOR_GREEN, "-VEHICLE INFO- The vehicles engine has been fully repaired.");
return 1;
}
return 1;
}