Class Limit
#3

so like this will work ? i no its not right whatsoever but that was off top of my head , and how i stop them spawning if there is to many police already on server
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    switch(classid)
    {
        case 0:
        {
            if(GetPlayerScore(playerid) < 50)
            {
                ifplayerclass 1 GameTextForPlayer u cant join ur score is to les
                return 0;
            }
        }
        //Add more cases... depending on the order of the AddPlayerClasses.
    }
    return 1;
}
Reply


Messages In This Thread
Class Limit - by [LHT]Bally - 26.09.2011, 18:55
Re: Class Limit - by [MWR]Blood - 26.09.2011, 19:03
Re: Class Limit - by [LHT]Bally - 26.09.2011, 19:08
Re: Class Limit - by [MWR]Blood - 26.09.2011, 19:11
Re: Class Limit - by [LHT]Bally - 26.09.2011, 19:12
Re: Class Limit - by [MWR]Blood - 26.09.2011, 19:16
Re: Class Limit - by [LHT]Bally - 26.09.2011, 19:24

Forum Jump:


Users browsing this thread: 1 Guest(s)