SA-MP Forums Archive
how to remove 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: how to remove textdraw (/showthread.php?tid=169692)



how to remove textdraw - DirtyLilFreak - 20.08.2010

ok lets say I have a textdraw in my game and I didnt put it but it came whit the downloaded game mode E.x textdraw 55 how do I remove it. Or atleast change it?




---------------------------
intrested in editing rp gamemode with me visit www.rlrp.co.cc and pm admin. i have server 24/7 with 50 slots awaiting my rp game mode


Re: how to remove textdraw - gamer931215 - 20.08.2010

On top of your script:

pawn Код:
new text:yourtextdraw;
Where you want it to create the textdraw:
pawn Код:
yourtextdraw = TextDrawCreate(etc...);

And to remove then:
pawn Код:
TextDrawDestroy(yourtextdraw);
Edit:If you dont understand check out the wiki here:
https://sampwiki.blast.hk/wiki/TextDrawDestroy