22.07.2009, 22:50
Код:
if(strcmp("/repair", cmdtext, true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehicleHealth(vehicleid, 1000.0);
SendClientMessage(playerid, COLOR_YELLOW, "Car is now repaired");
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "You are not in a vehicle");
}
return 1;
}
can anyone help ?

