SetPlayerTeam
#5

Quote:
Originally Posted by cray1100
Посмотреть сообщение
Nice, but where would this go? And it would check all id's? All even numbers to infinity?
You put it at OnPlayerRequestClass and yes it will work for all the ID's.

actually use just this OnPlayerRequestClass
pawn Код:
if( playerid % 2 == 0 ) // Number is not odd == it is EVEN AND % operator returns remainder.
         {
               SetPlayerTeam( playerid , 1 );
         }
         else SetPlayerTeam( playerid , 2 );
Reply


Messages In This Thread
SetPlayerTeam - by cray1100 - 05.08.2013, 04:24
Re: SetPlayerTeam - by SwisherSweet - 05.08.2013, 04:25
Re: SetPlayerTeam - by RajatPawar - 05.08.2013, 04:28
Re: SetPlayerTeam - by cray1100 - 05.08.2013, 04:31
Re: SetPlayerTeam - by Edix - 05.08.2013, 05:01

Forum Jump:


Users browsing this thread: 2 Guest(s)