10.11.2011, 20:13
Quote:
C:\Users\Laercio\Documents\Meus arquivos recebidos\ftn.pwn(315) : error 017: undefined symbol "Afk" C:\Users\Laercio\Documents\Meus arquivos recebidos\ftn.pwn(315) : warning 215: expression has no effect C:\Users\Laercio\Documents\Meus arquivos recebidos\ftn.pwn(315) : error 001: expected token: ";", but found "]" C:\Users\Laercio\Documents\Meus arquivos recebidos\ftn.pwn(315) : error 029: invalid expression, assumed zero C:\Users\Laercio\Documents\Meus arquivos recebidos\ftn.pwn(315) : fatal error 107: too many error messages on one line |
pawn Код:
//
if(IsPlayerConnected(i) && Afk[i])
pawn Код:
//
if(strcmp(cmdtext, "/ausentes", true) == 0)
{
SendClientMessage(playerid,0x008000AA,"|______Jogadores Ausentes_______|");
new count = 0;
new saiu[120];
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && Afk[i])
{
GetPlayerName(i,string,24);
format(saiu,sizeof(saiu),"Ausente: {EE1289}%s", string);
SendClientMessage(playerid, 0x0088CAAA, saiu);
count++;}}
if(count == 0)
{
SendClientMessage(playerid, 0xFF0000AA, "Nenhum Jogador Ausente no Momento.");
}
return 1;
}