#1

Hi,

How to start cikle again? now i do

Code:
for(new i = 0; i < MAX_PLAYERS; i ++)
{

}
i want to start not from 0 but from max_players and then -- when it reach 0
Reply
#2

PHP Code:
for(new MAX_PLAYERS>= i--)
{

Like that ?
Reply
#3

Try this:
Code:
for(new i = MAX_PLAYERS; i > -1; i--)
{
	if(!IsPlayerConnected(i) || IsPlayerNPC(i)) continue;
        /*     Other codes     */
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)