31.05.2010, 10:45
Quote:
Originally Posted by TheGarfield
vSamp works in 0.2x?
|
command is on line 1535. Replace it with this:
Код:
dcmd_fix(playerid,params[]){ #pragma unused params if(Account[playerid][pAdminlevel]>=CmdsOptions[Fix]) if(ServerInfo[Fix]==1){ GetPlayerName(playerid,pname,sizeof(pname)); if(IsPlayerInAnyVehicle(playerid)){ SetVehicleHealth(GetPlayerVehicleID(playerid),1000); if(Options[Language]==1)GameTextForPlayer(playerid,"~g~Riparato!",3000,4);else if(Options[Language]==2)GameTextForPlayer(playerid,"~g~Fixed!",3000,4); if(Options[Language]==1)format(string,sizeof(string),"%s ha riparato il veicolo (/fix)",pname),SendClientMessageToAll(COLOR_GREEN,string);else if(Options[Language]==2)format(string,sizeof(string),"%s has fixed his vehicle (/fix)",pname),SendClientMessageToAll(COLOR_GREEN,string);} else{ if(Options[Language]==1)SendClientMessage(playerid,COLOR_LIGHTRED,"Non sei in nessun veicolo");else if(Options[Language]==2)SendClientMessage(playerid,COLOR_LIGHTRED,"Non sei in nessun veicolo"); return 0;}} return 1;}