Posts: 88
Threads: 28
Joined: Jul 2011
Reputation:
0
Hi,
Is it possible to take 1 dollar away from the player every time he crashes while he's in a car?
I mean every time the car takes damage by a crash.
-Superthijs
Posts: 1,988
Threads: 17
Joined: Apr 2011
Reputation:
0
I suggest you make a timer instead use OnPlayerUpdate.
Posts: 673
Threads: 45
Joined: May 2010
Reputation:
0
yes because onplayerupdate will be used 23 times per seconds
Posts: 6,129
Threads: 36
Joined: Jan 2009
There's not a static amount of how many calls there will be in a second, it's not 23, it's not 24, it depends on the client.
Posts: 2,726
Threads: 85
Joined: Jul 2010
Reputation:
0
You don't need to change to a timer unless the script actually lags, and no, OnPlayerUpdate doesn't get called 23 times a second.