Quote:
Originally Posted by MadeMan
pawn Код:
stock GetRankName(rankid) { new rankname[32]; switch(rankid) { case 1: rankname = "Rank1"; case 2: rankname = "Rank2"; case 3: rankname = "Rank3"; default: rankname = "None"; } return rankname; }
Example:
pawn Код:
format(string, sizeof(string), "Your rank is %s", GetRankName(rank0[playerid])); SendClientMessage(playerid, -1, string);
|
Thanks dude,i need it for ini. U know how?