23.04.2012, 14:27
Better do it like this;
The cases are directed to the Playerclasses you've created under "OnGameModeInit"...Then you'll set the gTeam for the player to a special team. Change your code to the one I've posted, it's way more effecient and easier!
pawn Код:
switch(classid)
{
case 0 .. 2:
{
gTeam[playerid] = BALLA;
}
case 3 .. 7:
{
gTeam[playerid] = GROVE;
}
case 8 .. 10:
{
gTeam[playerid] = VAGOS;
}