Player Position Updating
#1

I am trying to have a TD that will show a certain player some general stats around them. Some of which require me to obtain their position and display it on the TD (text-draw). I did this a little while ago using a 1 second timer that would call GetPlayerPos each time the timer was called (every second) and then update the TD- however that didn't seem to work very well.

Therefore, is there any other solution to do this? Or is there a better place for doing this? I would like for the position to update immediately, but I really don't want the server to lag. This will probably only happen for about 5 players at a time because only a select group has the ability to do this and there really won't be more than 5 people using it at the same time.

Anyways, please let me know. Also, could you explain how I could round the float value of their position to coordinates that would fit this?: 000.000
Reply


Messages In This Thread
Player Position Updating - by Scenario - 21.01.2012, 00:30
Re: Player Position Updating - by Babul - 21.01.2012, 01:41
Re: Player Position Updating - by Scenario - 21.01.2012, 01:46

Forum Jump:


Users browsing this thread: 2 Guest(s)