12.02.2011, 11:06
I guess...
Noot sure.
pawn Код:
stock Faction(playerid)
{
switch(PlayerInfo[playerid][pFactionStat])
{
if(PlayerInfo[playerid][pFactionID] == 1)
{
case 0:
{
Tmp = "Non-Cadet";
}
case 1:
{
Tmp = "Cadet2";
}
case 2:
{
Tmp = "Cadet3";
}
case 3:
{
Tmp = "Cadet4";
}
case 4:
{
Tmp = "Cadet5";
}
}
}
return Tmp;
}