09.08.2009, 03:54
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.
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.