13.01.2014, 05:24
If you want to make it like this:
So on and so forth.
pawn Код:
stock GetRank(playerid)
{
new faction = PlayerInfo[playerid][Faction], rank = PlayerInfo[playerid][Rank], str[25];
switch(faction)
{
case 0:
{
if(rank == 1)str = "text";
else if(rank == 2)str = "text";
}
}
return str;
}