Class ID's
#2

Quote:
Originally Posted by WarriorEd22
Посмотреть сообщение
I have this in my script. What does this exactly mean?:

pawn Код:
SetPlayerTeamFromClass(playerid, classid)
{
    if(classid == 0 || classid == 1 || classid == 2 || classid == 3 || classid == 4 || classid == 5)
    {
        gTeam[playerid] = Team_Cop;
    }
    else if(classid == 6)
    {
        gTeam[playerid] = Team_Army;
    }
    else if(classid == 7)
    {
        gTeam[playerid] = Team_FBI;
    }
    else if(classid >= 8)
    {
        gTeam[playerid] = Team_Civi;
    }
}
This is saying that when you register it shows you skins? if you choose 0 to 5 for example, it will put you in Team_Cop.
Reply


Messages In This Thread
closed. :) - by WarriorEd22 - 23.04.2012, 14:22
Re: Class ID's - by BleverCastard - 23.04.2012, 14:24
Re: Class ID's - by Twisted_Insane - 23.04.2012, 14:27
Re: Class ID's - by WarriorEd22 - 23.04.2012, 18:18
Re: Class ID's - by Twisted_Insane - 23.04.2012, 18:34
Re: Class ID's - by WarriorEd22 - 23.04.2012, 20:45
Re: Class ID's - by AlonGlenn - 03.12.2016, 01:27

Forum Jump:


Users browsing this thread: 3 Guest(s)