Switch,Case
#1

It sets the player team when the player selects a terrorists skin but it does not work or counter-terrorists

Код:
#define TERRORISTS 0
#define C_TERRORISTS 1
Код:
switch(classid)
{
    case 73,121,122,179,254:
    {
	Team[playerid] = TERRORISTS;
	SetPlayerColor(playerid, COLOR_RED);
	return 1;
    }
    case 284,285,287,280:
    {
        Team[playerid] = C_TERRORISTS;
	SetPlayerColor(playerid, COLOR_BLUE);
	return 1;
    }
}
Reply


Messages In This Thread
Switch,Case - by K0P - 07.03.2016, 15:28
Re: Switch,Case - by Jefff - 07.03.2016, 15:57
Re: Switch,Case - by Banditul18 - 07.03.2016, 16:43

Forum Jump:


Users browsing this thread: 1 Guest(s)