Jump to content

AgentFIB

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by AgentFIB

  1. I'm trying to use the outgoing sync disable function, but nothing happens/works. Maybe I'm missing something?


    function - https://wiki.rage.mp/wiki/Player::disableOutgoingSync

    my code -

    mp.events.addCommand("disoc", (player) => {
        if (!player || !mp.players.exists(player)) return;
        player.disableOutgoingSync = !player.disableOutgoingSync;
    
        if (player.disableOutgoingSync) {
            player.outputChatBox("Outgoing sync has been disabled.");
        } else {
            player.outputChatBox("Outgoing sync has been enabled.");
        }
    });
×
×
  • Create New...