26.05.2010, 21:35
Arrumou algumas Warnings, mas estб agora dб os Seguintes Erros:
Podem ver que a Maioria dos erros й na linha 1308, que й a Linha abaixo:
Код:
C:\DOCUME~1\SRGIO~1\MEUSDO~1\LUKAS\CITYOF~1\Thug.pwn(13054) : error 017: undefined symbol "targetid" C:\DOCUME~1\SRGIO~1\MEUSDO~1\LUKAS\CITYOF~1\Thug.pwn(13080) : error 028: invalid subscript (not an array or too many subscripts): "levelexp" C:\DOCUME~1\SRGIO~1\MEUSDO~1\LUKAS\CITYOF~1\Thug.pwn(13080) : warning 215: expression has no effect C:\DOCUME~1\SRGIO~1\MEUSDO~1\LUKAS\CITYOF~1\Thug.pwn(13080) : error 001: expected token: ";", but found "]" C:\DOCUME~1\SRGIO~1\MEUSDO~1\LUKAS\CITYOF~1\Thug.pwn(13080) : error 029: invalid expression, assumed zero C:\DOCUME~1\SRGIO~1\MEUSDO~1\LUKAS\CITYOF~1\Thug.pwn(13080) : fatal error 107: too many error messages on one line
pawn Код:
format(string, sizeof(string), "~g~LEVEL adquirido~n~~w~agora voce esta no level %d", nxtlevel);
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
PlayerPlayMusic(playerid);
PlayerInfo[playerid][pLevel]++;
PlayerInfo[playerid][pExp] = 0;
PlayerInfo[playerid][gPupgrade] = PlayerInfo[playerid][gPupgrade]+2;
GameTextForPlayer(playerid, string, 5000, 1);
format(infostring, 256, " Vocк ganhou %d pontos de atualizaзгo",PlayerInfo[playerid][gPupgrade]);
SendClientMessage(playerid, COLOR_GRAD2, infostring);
levelexp[playerid] = 4;//Linha 1308 <<<------------ Aki ^^
if(PlayerInfo[playerid][pLevel] >= 8) { levelexp[playerid] = 5; }
if(PlayerInfo[playerid][pLevel] >= 11) { levelexp[playerid] = 6; }
if(PlayerInfo[playerid][pLevel] >= 14) { levelexp[playerid] = 7; }
if(PlayerInfo[playerid][pLevel] >= 17) { levelexp[playerid] = 8; }