29.05.2013, 19:37
Hello Internet,
I was trying to make some sort of a function, but i wasnt able to. I hope you guys can help me
What it must do:
Each 750 ms the function checks the distance from a player to a point.
The player has to try and stay in range of that point for 5 sec.
When he succeeds he gets a message for example.
but whenever the player leaves the range, the timer resets to 5 sec.
Thx for help,
MrCong
I was trying to make some sort of a function, but i wasnt able to. I hope you guys can help me

What it must do:
Each 750 ms the function checks the distance from a player to a point.
The player has to try and stay in range of that point for 5 sec.
When he succeeds he gets a message for example.
but whenever the player leaves the range, the timer resets to 5 sec.
Thx for help,
MrCong