14.01.2015, 13:22
Hello i made command to list all jailed players..
Like
for(new x = 0; x<MAX_PLAYERS; x++)
{
If(PlayerInfo[x][pjailed] == 1)
{
//list jailed players
}else{
//no players in jail
}
}
But when there are 5 players in server but not jailed it send me clientmessage 5 times if 2 players online then 2 times. Idk why i want to send only 1 time
Like
for(new x = 0; x<MAX_PLAYERS; x++)
{
If(PlayerInfo[x][pjailed] == 1)
{
//list jailed players
}else{
//no players in jail
}
}
But when there are 5 players in server but not jailed it send me clientmessage 5 times if 2 players online then 2 times. Idk why i want to send only 1 time