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.