Textdraw Question - 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: Textdraw Question (
/showthread.php?tid=90609)
Textdraw Question -
Zeromanster - 09.08.2009
Hello,
I have made that when someone aproaches a door to a building a textdraw pops up and shows the building name.
I have made that a timer (2500 ms) checks if a player is still in front of the door and if he isn't the textdraw would hide.
Now i have a question about that timer, it has over 200
if(!PlayerToPoint(3.0,playerid,x,y,z)) and im wondering is that the good way of hiding textdraws ?
Is it going to create lag ? And do you have some better way of doing this ? Thank you.
Re: Textdraw Question -
ruarai - 09.08.2009
well if the timer is 2500 it wont cause too much lag.
Re: Textdraw Question -
Zeromanster - 09.08.2009
Quote:
Originally Posted by яυαяαι
well if the timer is 2500 it wont cause too much lag.
|
Yay, thats great news

Btw. i raised it at 3000ms