04.11.2010, 18:27
pawn Код:
forward switcher(playerid);
public switcher(playerid)
{
switch(Mode[playerid])
{
case 1:
{
Mode[playerid] = 2;
print("MODE SWITCHED to 1");
}
case 2:
{
Mode[playerid] = 1;
print("MODE SWITCHED to 2");
}
default: Mode[playerid] = 1;
}
print("Class selection");
return ForceClassSelection(playerid), SetPlayerHealth(playerid, 0.0);
}