02.02.2012, 21:15
pawn Код:
CMD:procurados(playerid)
{
SendClientMessage(playerid,COLOR_RED," Lista de Procurados: ");
new Jogador[24],new msg[26];
new count = 0;
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && Procurados[i])
{
GetPlayerName(i,Jogador,24);
format(msg,sizeof(msg),"%s", Jogador);
SendClientMessage(playerid, COLOR_BLUE, msg);
count++;
}
}
if(count == 0)
{
SendClientMessage(playerid, COLOR_RED, "[INFO] Nгo existe qualquer jogar com nнvel de procurado.");
}
return 1;
}