Scripting/Server/Events/onPlayerUpdate
Fires for every on-foot sync packet the server receives from a player. Very frequent; prefer a timer for periodic work.
Syntax
onPlayerUpdate(player)Arguments
- Player player
Example
function onPlayerUpdate( player )
{
MessagePlayer( "onPlayerUpdate fired", player );
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
Section: Input and sync
Categories: Server events | Input and sync