SA-MP Forums Archive
Stopping a textdraw when applying an animation +rep - 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: Stopping a textdraw when applying an animation +rep (/showthread.php?tid=375888)



Stopping a textdraw when applying an animation +rep - RLGaming - 08.09.2012

So, whenever I do any of my animations like /getjiggy /dance /wave and such, it bring's up a textdraw from my tutorial but when you do /stopani it remove it and stops the ani, since it has this code under it
'TextDrawHideForPlayer(playerid,txtAnimHelper);'

So, how can I make that apply for all the command when doing a animation without pasting it under every CMD

thanks guys


Re: Stopping a textdraw when applying an animation +rep - HuSs3n - 08.09.2012

i dont understand what you mean!
do you want the text to hide when you type any command?


Re: Stopping a textdraw when applying an animation +rep - kbalor - 08.09.2012

EDIT: wrong script (I don't understand enough)


Re: Stopping a textdraw when applying an animation +rep - RLGaming - 08.09.2012

Whenever I do a animation a textdraw appear's for some reason, how can I stop it from appearing

'TextDrawHideForPlayer(playerid,txtAnimHelper);' disables the textdraw but i don't want to add that to every animation so how can i stop the textdraw from appearing whenever i do a animation


Re: Stopping a textdraw when applying an animation +rep - kbalor - 08.09.2012

Are you using a Filterscript? Hmm. I'm not sure but Search all Textdraw or any related textdraw for your animations and Remove them.


Re: Stopping a textdraw when applying an animation +rep - Guest3598475934857938411 - 08.09.2012

According to my very own memory that is not your OWN FS, that is Seif's animations filterscript, also to remove those click on Edit > Replace, put "TextDrawHideForPlayer(playerid,txtAnimHelper) ;" in the first text Box and put nothing inside the second one, after that you should just click on "Replace All" or so.

That should disable all of them if my logic is right.