SA-MP Forums Archive
Text draw help - 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: Text draw help (/showthread.php?tid=324922)



Text draw help - BlackID - 11.03.2012

can anybody help me with custom string on textdraw like in

pawn Code:
new string[128], playerid;
format(string,sizeof(string),"ID:%i",playerid);
but i would like this to be shown in textdraw not in SendClientMessage

i already tried all i can do, but i still can't make it, so if anyone could help me, i would really appriciate it

sorry, for my bad english


Re: Text draw help - BlackID - 11.03.2012

will somebody answer? i really need this fast


Re: Text draw help - !LukniS! - 11.03.2012

Use:
GameTextForPlayer
TextDrawShowForPlayer and TextDrawSetString


Re: Text draw help - BlackID - 11.03.2012

could you give me an example?


Re: Text draw help - !LukniS! - 11.03.2012

Code:
new string[128], playerid;
format(string,sizeof(string),"ID:%i",playerid);
TextDrawCreate(TextDraw, 0, 0, "");
TextDrawSetString(TextDraw, string);



Re: Text draw help - BlackID - 11.03.2012

thanks +rep