help with loop for(new loop
#1

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
Reply


Messages In This Thread
help with loop for(new loop - by danish007 - 14.01.2015, 13:22
Re: help with loop for(new loop - by xVIP3Rx - 14.01.2015, 13:29
Re: help with loop for(new loop - by Vince - 14.01.2015, 14:19
Re: help with loop for(new loop - by xVIP3Rx - 14.01.2015, 14:29
Re: help with loop for(new loop - by Threshold - 14.01.2015, 15:39
Re: help with loop for(new loop - by danish007 - 14.01.2015, 16:09
Re: help with loop for(new loop - by danish007 - 18.01.2015, 07:40

Forum Jump:


Users browsing this thread: 5 Guest(s)