Client Exports

Client Exports

🔹 getOrg()

local org = exports['pinkFrog_organizations']:getOrg()

This export retrieves the name of the player's organization.

  • org will contain the name of organization

  • Can be used in custom scripts to conditionally apply logic based on the player's.

Example usage:

local myOrg = exports['pinkFrog_organizations']:getOrg()

if myOrg == 'mafia' then
  -- Do something specific for mafia members
elseif myOrg == 'BallasNew" then 
  -- Do something specific for gang members
end

Last updated