23.04.2012, 14:22
(
Последний раз редактировалось WarriorEd22; 24.04.2012 в 01:17.
)
closed.
I have this in my script. What does this exactly mean?:
pawn Код:
|
switch(classid)
{
case 0 .. 2:
{
gTeam[playerid] = BALLA;
}
case 3 .. 7:
{
gTeam[playerid] = GROVE;
}
case 8 .. 10:
{
gTeam[playerid] = VAGOS;
}
AddPlayerClass //first one
AddPlayerClass //second one
AddPlayerClass //third one
AddPlayerClass //fourth one
AddPlayerClass //fifth one
AddPlayerClass //sixth one
switch(classid) {
case 0 .. 2: //the first three playerclasses
{
gTeam[playerid] = TEAM1; //set their gTeam to YOUR teams
}
case 3 .. 5: //the other three playerclasses
{
gTeam[playerid] = TEAM2; //set their gTeam to YOUR teams
}