1 TextDraw For Many Things - 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: 1 TextDraw For Many Things (
/showthread.php?tid=95529)
1 TextDraw For Many Things -
Zeromanster - 03.09.2009
Hello,
Is it possible to have 1 textdraw for 20 entrances, so the text would change according to PlayerToPoint ?
If it's posible can i get a example code to get me started ? Thanks.
Re: 1 TextDraw For Many Things -
brett7 - 04.09.2009
could i suppose just update the textdraw
Re: 1 TextDraw For Many Things -
Zeromanster - 04.09.2009
Something like that, so if you near Restaurant (PlayerToPoint) the text would be Restaurant, if you near a GunShop(PlayerToPoint) the text would be GunShop... i was thinking about some variable that would change in accordance to PlayerToPoint but i can't seem to script this without errors, so please could I get some example code ? (Nothing big, just some lines to get me started) Thanks
Re: 1 TextDraw For Many Things -
Zeromanster - 05.09.2009
Nobody knows ?
Re: 1 TextDraw For Many Things -
Zeromanster - 05.09.2009
Quote:
Originally Posted by Seif_ [adream-rp.com
]
Not when there's a lot of players going at a place at the same time. Create one for each entrance.
|
Then im done.

I just thought it can be done easier and with less textdraws.
Btw. Your ADreamRP inspired me for the textdraw entrances.