09.01.2013, 17:43
Well, i've added this on onplayerconnect and with this it should show up a Textdraw with how much he has RPoints and how much he must have to level up. But the problem is it only shows Rpoints: / ?without the numbers?
pawn Код:
new exp[MAX_STRING];
new tlvl;
if(PlayerInfo[playerid][playerlvl]<=7) tlvl=9;
else tlvl=PlayerInfo[playerid][playerlvl]*2;
format(exp,sizeof(exp),"RPoints: %s/%s",PlayerInfo[playerid][rpoints],tlvl);
TextDrawSetString(InfoBox[playerid],exp);
TextDrawShowForPlayer(playerid,InfoBox[playerid]);