Text in textdraw
#1

Hello,I want to that in my text draw,player can see his points.So here is my textdraw:
Код:
    Turfpoints = TextDrawCreate(410.000000, 430.000000,"%s",pPoints);
    TextDrawBackgroundColor(Turfpoints, 255);
    TextDrawFont(Turfpoints, 1);
    TextDrawLetterSize(Turfpoints, 0.619999, 1.800000);
    TextDrawColor(Turfpoints, playercolor);
    TextDrawSetOutline(Turfpoints, 1);
    TextDrawSetProportional(Turfpoints, 1);
Soem think like that,but in server it shows text : "%s".
How to make that pPoints in text draw will show points ?
Reply
#2

pawn Код:
new string[32];
format(string, sizeof(string), "%s", pPoints);
Turfpoints = TextDrawCreate(410.000000, 430.000000,string);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)