Question
#2

pawn Код:
for( new i= 0; i < GetMaxPlayers( ); i++ )
{
    if( PlayerInfo[ i ][ adminlevel ] == 5 )
    {
        // do something here
    }
}
for the PlayerInfo[ i ][ adminlevel ], use your own variable ofc

basically this loops through the players, and if someone has the admin lvl 5 it does something, what it should do, is up to you, add it at the green line.

^^ is untested btw, but it should work.
Reply


Messages In This Thread
Question - by Jimmy0wns - 15.12.2013, 12:33
Re: Question - by niels44 - 15.12.2013, 12:35
Re: Question - by Jimmy0wns - 15.12.2013, 12:38

Forum Jump:


Users browsing this thread: 1 Guest(s)