Posts: 1,239
Threads: 16
Joined: Mar 2011
Reputation:
0
Position, weapon, text, camera move everything you can imagine
Posts: 1,564
Threads: 98
Joined: Apr 2011
Reputation:
0
OnPlayerUpdate gets called 16 times a second or so. Dont over-use it with player loops etc, otherwise it might be lagging your server.
Posts: 1,662
Threads: 199
Joined: Dec 2011
Reputation:
0
So its basicly a function that will get triggered every milisecond?
Posts: 250
Threads: 13
Joined: Oct 2010
Reputation:
0
Updated for example, health, armor, position, rotation, vehicles (mods, color, animation), the client will send information to the server and the server will call the OnPlayerUpdate.
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
It won't be called 16 times a second when standing still though - only around 4 or 5 times.
Posts: 1,599
Threads: 164
Joined: Dec 2010
Reputation:
0
Good place to an anti hack system i guess.. Also for saving.
Hope that i am not saying shit. Also, used for Speedo. At least i used.
Posts: 1,662
Threads: 199
Joined: Dec 2011
Reputation:
0
Not for saving, will be lagging. I am placing my weaponhack here
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
OnPlayerUpdate should only be used for small things that NEED to be called frequently i.e. weapon detection or a speedo^.