23.11.2010, 14:31
I suggest you use a switch.
pawn Код:
switch(pi[playerid][Classid])
{
case 1 .. 3:
{
if(Cmafia >= MafiaFull) return 0;
pi[playerid][Mafia] = 1;
}
case 4 .. 6:
{
if(Cpolice <= CopFull) return 0;
pi[playerid][Police] = 1;
}
}