13.02.2010, 18:06
Quote:
Originally Posted by xkinx
Quote:
Код:
if(strcmp(cmd, "/consertar", true) == 0) { if(Profissao[playerid] == GM ||Profissao[playerid] == MECANICO ||IsPlayerAdmin(playerid)) { if(IsPlayerInAnyVehicle(playerid)){ new veiculo; veiculo = GetPlayerVehicleID(playerid); SetVehicleHealth(veiculo,1000); //Nao conserta <<< OBS> Corrigido1> RepairVehicle(veiculo); //Acrescentado e corringido lataria bonita xD^^Kin SendClientMessage(playerid,COLOR_GRAY,"Carro consertado."); return 1; } } } |