Help with textdraw . - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with textdraw . (
/showthread.php?tid=406246)
Help with textdraw . -
MadafakaPro - 09.01.2013
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]);
Re: Help with textdraw . -
LetsOWN[PL] - 09.01.2013
pawn Код:
format(exp,sizeof(exp),"RPoints: %s/%s",PlayerInfo[playerid][rpoints],tlvl);
Replace with 
Greetz,
LetsOWN
Respuesta: Help with textdraw . -
MadafakaPro - 09.01.2013
Well i've done that its working but its only showing 0/9 - and thisis only if player is lvl 1 it doesnt shows the Rpoints that he has.
Re: Help with textdraw . -
LetsOWN[PL] - 09.01.2013
So perhaps you have some mistakes in calculations. Is this, what you've posted, everything we need to know about your score system?