Factions (read)
#3

If you want to make it like this:

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;
}
So on and so forth.
Reply


Messages In This Thread
Factions (read) - by MaDsON - 13.01.2014, 03:31
Re: Factions (read) - by MaDsON - 13.01.2014, 05:05
Re: Factions (read) - by iGetty - 13.01.2014, 05:24

Forum Jump:


Users browsing this thread: 1 Guest(s)