[help] 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: [help] Textdraw (
/showthread.php?tid=272530)
[help] Textdraw -
Dirkon - 28.07.2011
Hey everyone

I'm making a speedometer and I confronted a problem. The textdraw of doesn't show up to any player except player with id 0. I tried diferent ways, to do that, but didn't got anything good.
Here's my script:
PASTEBIN
Do anyone know what's wrong?
Re: [help] Textdraw -
Kayaque - 28.07.2011
Quote:
new Text:Speedo;
new Text:SpeedoText;
new Text:SpeedoText2[MAX_PLAYERS];
new Text:SpeedoText3;
|
I think you need [MAX_PLAYERS] behind all of those. Else they can't create more than for ID 0.
Re: [help] Textdraw -
Dirkon - 28.07.2011
I'll try that. But SpeedText, and SpeedText3 is same for all players it's just text: "Speed:" and "Fuel:" . And SpeedoText2 shows speed like 100km/h. So I think just SpeedoText2 needs [MAX_PLAYERS], since just this one TextDraw is diferent for everyone.
P.S. Sorry if you didn't understand something.
P.S.S I can't test what you've wrote right now cuz' my friend is offline.