uyuyorumstore
um-ronin-spawn

Partner

How to pair two characters as partners

Two characters can be partners. They wake up in the same bed and get the partner scenes. The partner ped wears the partner character's own skin, read from your clothing script.

Invite a partner

  1. Stand within 10 metres of the other player
  2. Type /invitepartner <id> with their player id
  3. They get a dialog and press Accept
/invitepartner 12

The invite expires after 60 seconds. Pairing up clears whoever either of them had before.

Admin: force a partner

/forceinvitepartner <citizenid>

Pairs your current character with any citizenid, online or not. Needs group.admin.

Leave

Open the settings tab in the spawn menu and press Leave on the partner row. Both characters lose the partner, the other one is notified if online.

Config

config > main.lua
partnerInvite = {
    enabled = true,
    command = 'invitepartner',
    forceCommand = 'forceinvitepartner', -- admin (group.admin): pair with any citizenid
    distance = 10.0,                     -- metres the invited player may stand away
    timeoutMs = 60000,                   -- an unanswered invite expires after this
},

Stored

The partner is saved in ronin_spawn_settings.partner. enabled = false removes both commands, leaving from the settings tab keeps working.

On this page