Help with restricted Class
#5

pawn Code:
Return 0; would stop them from spawning right? thats what the wiki said, so I put my code as
new classid;
if(classid == 4 && PlayerInfo[playerid][pAdmin] > 1)
{
    return 0;
}
and I set my admin level to 0 and now I can still spawn with that class?
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)