07.12.2012, 13:50
Erros:
Code:
Line of error:
HELP -> REP+
Quote:
C:\Users\Banga\Desktop\gm bgh.pwn(9912) : error 029: invalid expression, assumed zero C:\Users\Banga\Desktop\gm bgh.pwn(9912) : error 017: undefined symbol "cmd_rbatalha" C:\Users\Banga\Desktop\gm bgh.pwn(9912) : error 029: invalid expression, assumed zero C:\Users\Banga\Desktop\gm bgh.pwn(9912) : fatal error 107: too many error messages on one line |
PHP код:
CMD:carteira(playerid, params[])
{
new text1[20], text2[20], text3[20], text4[20], text5[20];
if(PlayerInfo[playerid][pCarLic]) text1 = "Sim";
else text1 = "Nгo";
if(PlayerInfo[playerid][pFlyLic]) text4 = "Sim";
else text4 = "Nгo";
if(PlayerInfo[playerid][pBoatLic]) text2 = "Sim";
else text2 = "Nгo";
if(PlayerInfo[playerid][pFishLic]) text3 = "Sim";
else text3 = "Nгo";
if(PlayerInfo[playerid][pGunLic]) text5 = "Sim";
else text5 = "Nгo";
SendClientMessage(playerid, COLOR_WHITE, "{B5B5B5}|_"AbreviaturaServidor2"_|Licenзas|_"AbreviaturaServidor2"_|");
format(STR, sizeof(STR), "Motorista:{de1480} %s.", text1);
SendClientMessage(playerid, 0x33FF00FF, STR);
format(STR, sizeof(STR), "Voo:{de1480} %s.", text4);
SendClientMessage(playerid, 0x33FF00FF, STR);
format(STR, sizeof(STR), "Navegacao:{de1480} %s.", text2);
SendClientMessage(playerid, 0x33FF00FF, STR);
format(STR, sizeof(STR), "Pesga Legal:{de1480} %s.", text3);
SendClientMessage(playerid, 0x33FF00FF, STR);
format(STR, sizeof(STR), "Porte de Armas:{de1480} %s.", text5);
SendClientMessage(playerid, 0x33FF00FF, STR);
return 1;
}
PHP код:
new text1[20], text2[20], text3[20], text4[20], text5[20];