SA-MP Forums Archive
Textdraw doesn't show - 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: Textdraw doesn't show (/showthread.php?tid=295335)



Textdraw doesn't show - Sascha - 05.11.2011

resolved


Re: Textdraw doesn't show - Cody_Ward - 05.11.2011

Can i please see come code?

Also instead of TextDrawShowForPlayer(playerid);

At the bottom of the Textdraw code in the script add TextDrawShowForAll();

That should make it show even without the command, so you can delete the command.

Also if this doesnt work PM me with the code and i can help further.

Also if this helped please give me one rep, thank you!


Re: Textdraw doesn't show - Sascha - 05.11.2011

you didn't help me..
TextDrawShowForAll and TextDrawShowForPlayer are 2 completly different things that can't just be replaced randomly in all situations.
As I said, the code is correct, I just want to know some reasons that could make textdraws not show, even if the code is correct.

(code correct because I've used a textdraw editor which I used several times before and always worked fine)


Re: Textdraw doesn't show - MP2 - 06.11.2011

Show the code. You can't go to a garage and ask them to fix your car if you don't show them your car.


Re: Textdraw doesn't show - AndreT - 06.11.2011

Quote:
Originally Posted by Sascha
Посмотреть сообщение
you didn't help me..
TextDrawShowForAll and TextDrawShowForPlayer are 2 completly different things that can't just be replaced randomly in all situations.
As I said, the code is correct, I just want to know some reasons that could make textdraws not show, even if the code is correct.

(code correct because I've used a textdraw editor which I used several times before and always worked fine)
Then it must be your implementation of the code that's wrong. And to help you, we need to see the code by ourselves.


Re: Textdraw doesn't show - Sascha - 06.11.2011

Quote:
Originally Posted by MP2
Посмотреть сообщение
Show the code. You can't go to a garage and ask them to fix your car if you don't show them your car.
I said I don't want to have anything fixed...
imagine it like a it-call-center... I just want to know what could cause things like this...^^


AW: Textdraw doesn't show - Drebin - 06.11.2011

No code, no help.


Re: AW: Textdraw doesn't show - MP2 - 06.11.2011

This isn't a call center, it's a scripting help forum. What you're asking for is quite frankly ridiculous. There are many many MANY reasons a textdraw couldn't show; without seeing the code we can't possibly know. [that accidentally rhymed hehe]


Re: Textdraw doesn't show - Sascha - 06.11.2011

to the "the code is wrong", it works perfectly on another gamemode..
if you want it...
here it is:


don't tell "hm looks correct" now...


Re: Textdraw doesn't show - MP2 - 07.11.2011

Try putting an underscore at the end of the first textdraw.
Why are you creating the box for each playerid? You only need one.