20.06.2011, 17:56
Quote:
Comando correto:
PHP код:
|
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/r", true) == 0)
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "Vocк nгo estб em veiculo nenhum.");
RepairVehicle(GetPlayerVehicleID(playerid));
return true;
}
return false;
}