14.07.2012, 21:58
pawn Код:
if(strcmp(cmdtext, "/procurados", true) == 0)
{
SendClientMessage(playerid,0x008000AA,".:: Procurados ::.");
new Jogador[24];
new count = 0;
new msg[120];
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && Procurados[i] >= 1)
{
GetPlayerName(i,Jogador,24);
format(msg,sizeof(msg),"%s (ID: %d)", Jogador,i);
SendClientMessage(playerid, 0x0088CAAA, msg);
count++;
}
}
if(count == 0){ SendClientMessage(playerid, 0xFF0000AA, "Ninguйm online esta Procurado!");}
return 1;
}
This forum requires that you wait 120 seconds between posts. Please try again in 10 seconds.