SA-MP Forums Archive
Hello I have question about ClassSelection.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Hello I have question about ClassSelection.. (/showthread.php?tid=420493)



Hello I have question about ClassSelection.. - Scrillex - 05.03.2013

Good Day Forum members. I have a little question about Class Selection.

So the thing is I want to make multiple team selections with thifrent points for example:

If I use command: GroveStreet it sets me on difrent Classselection..

If I use command: Public it sets me on another ClassSelection..

Thank you for your time.

With Respect Scrillex.


Re: Hello I have question about ClassSelection.. - Marco_Valentine - 05.03.2013

you could try
pawn Код:
new grove[MAX_PLAYERS];
then under onplayerrequestclass
pawn Код:
if(grove[playerid] == 1)
    {
        SetPlayerSkin(playerid,0);
        SetupPlayerTeam(playerid, ##, "grove");
        gTeam[playerid] = grove;
        return 1;
    }
something like that