09.07.2016, 13:58
(
Последний раз редактировалось Luicy.; 09.07.2016 в 16:39.
)
How can I repeat a function without a timer, as long as the player is pressing space?
Like:
While pressing space: repeat untill not holding it anymore.
I need to know this for a fuel system..
New problem;
The same gamemode I'm working on, it's restricted to Palomino with a mapping revamp, But I'd like to check when ever someone get's out the XY that I can get, He should be TPed to inside with some XYZ I got, But the problem is that, OnPlayerUpdate is way too much called, Heard around40 times a second, So how is the best way to call this thing on?
Which callback, or should I create a timer?
Like:
While pressing space: repeat untill not holding it anymore.
I need to know this for a fuel system..
New problem;
The same gamemode I'm working on, it's restricted to Palomino with a mapping revamp, But I'd like to check when ever someone get's out the XY that I can get, He should be TPed to inside with some XYZ I got, But the problem is that, OnPlayerUpdate is way too much called, Heard around40 times a second, So how is the best way to call this thing on?
Which callback, or should I create a timer?