12.05.2013, 10:56
you didn't provide any code what so ever!!
what variable do the police use
what variable do the police use

pawn Код:
new AStr[MAX_PLAYER_NAME + 4],FStr[240];
for(new i=0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && gTeam[i] == POLICE)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(i, name, sizeof(name));
format(AStr, sizeof(AStr), "%s(%d)\n",name,i);
strcat(FStr, AStr, sizeof(FStr));
}
}
ShowPlayerDialog(playerid, 4684, DIALOG_STYLE_MSGBOX, "PoliceList", FStr, "Close", "");