Skip to main content

Player::disableOutgoingSync

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Server-side JavaScript). Calling it does nothing or throws.

Server-side function

JavaScript​

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