Help with restricted Class
#6

pawn Code:
if(classid == 4 && PlayerInfo[playerid][pAdmin] < 1)
{
    return 0;
}
If classid is 4, and the player admin level is 0, he can't spawn with that.
Reply


Messages In This Thread
Help with restricted Class - by Azzeto - 30.09.2011, 14:52
Re: Help with restricted Class - by Jafet_Macario - 30.09.2011, 15:02
Re: Help with restricted Class - by Azzeto - 30.09.2011, 15:04
Re: Help with restricted Class - by Jafet_Macario - 30.09.2011, 15:06
Re: Help with restricted Class - by Azzeto - 30.09.2011, 15:13
Re: Help with restricted Class - by Jafet_Macario - 30.09.2011, 15:17
Re: Help with restricted Class - by Azzeto - 30.09.2011, 15:17
Re: Help with restricted Class - by Jafet_Macario - 30.09.2011, 15:19
Re: Help with restricted Class - by DRIFT_HUNTER - 30.09.2011, 16:43

Forum Jump:


Users browsing this thread: 1 Guest(s)