SA-MP Forums Archive
help with textdraws - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help with textdraws (/showthread.php?tid=71850)



help with textdraws - hazdog - 04.04.2009

hey, i made a textdraw so that onplayerdeath the score of each of my 3 teams in my deathmatch was updated:

new s;
s = score[0];
TextDrawSetString(Text:gTextDraw,"GROVE: %d",s);
s = score[1];
TextDrawSetString(Text:gTextDraw2,"GOLFERS: %d",s);
s = score[2];
TextDrawSetString(Text:gTextDraw3,"POLICE: %d",s);

but i cant format the draw.... cheers for any help.

sorry for the short writeup, but its late and i need to go to bed, so i dont have time to explain fully

once again; thanks.


Re: help with textdraws - Lazarus - 04.04.2009

You need to show the textdraw (again) after formatting it.