30.08.2011, 02:52
Nice GF edit -.- but I know what you wanna do, it'd be something like, having an array for the FBI command, so have:
Then, somewhere in your phone script, put this: (download foreach include)
Maybe that's what you want.
Код:
new IsFBIListening[MAX_PLAYER_NAME];
Код:
Tog on: IsFBIListening[playerid] = 1; Tog off: IsFBIListening[playerid] = 0;
pawn Код:
foreach(Player, i)
{
if(PlayerInfo[playerid][pMember] == 2 && IsFBIListening[playerid] == 1]
{
//send the string
}
}