07.09.2009, 00:39
Quote:
Originally Posted by ilikepie2221
Well, now I have this:
pawn Код:
But I can't seem to get it. Can you give me an example, and I'll make it myself? |
i would do something similar to that
pawn Код:
GetPlayerRankName(playerid)//
{
new rankz[20];
if(whatever == 1) format(rankz,sizeof(rankz),"Yay, you cool");
else if(whatever == 2) format(rankz,sizeof(rankz),"wow your 1337 !!!");
// More ifs to define x
print(rankz); // you can print rankz in server screen for shit and giggle
return rankz;// you could return rankz this way you can do: new string[xxx]; string = GetPlayerRankName(playerid)
}