Player::disableOutgoingSync

From RAGE Multiplayer Wiki

Server-Side
Function

 JavaScript



JavaScript Syntax

Required Params

  • enable: boolean

Return value

  • boolean

Syntax

player.disableOutgoingSync

Example

const player = mp.players.at(0);
if (!player || !mp.players.exists(player)) return;
player.disableOutgoingSync = true; //disable outgoing sync for player id 0


See Also