Why is textdraw not working? - 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: Why is textdraw not working? (
/showthread.php?tid=462923)
Why is textdraw not working? -
QatarKnight - 09.09.2013
What are the reasons that a textdraw doesn't work? Because i'am using a filterscript house system and it uses textdraws and they don't work. I tried them with a different gamemode and it worked here is how it looks in my server.
http://imgur.com/UH3G88m nothing happens. And this how it looks in another gamemode.
http://imgur.com/OQza6dn it works in the other gamemode. But i don't know why. It's not because the textdraw is out of coordination. Since it works in another gamemode.
Re: Why is textdraw not working? -
Weponz - 09.09.2013
Show us some code?
Re: Why is textdraw not working? -
Mattakil - 09.09.2013
Maybe the textdraw name in the filterscript is the same one in the gamemode that you are trying to use, IE: Textdraw0 is a common one if you are using a textdraw editor. So just check at the top of both scripts, and look for new Text: name and see if any of them are the same.
Re: Why is textdraw not working? -
Vince - 09.09.2013
Quote:
Originally Posted by Mattakil
Maybe the textdraw name in the filterscript is the same one in the gamemode that you are trying to use, IE: Textdraw0 is a common one if you are using a textdraw editor. So just check at the top of both scripts, and look for new Text: name and see if any of them are the same.
|
There is such thing as a scope of a variable. Two variables in two different files are two different things. The names do not matter; the compiler discards human readable names anyway.