getGang

ps.getGang(source)

Returns the complete gang object for the given source.

Parameters:

  • source (number): Player server ID

Returns:

  • table: Gang object

Example Use Case

local gang = ps.getGang(source)
if gang then
    print("Gang Name: " .. gang.name)
end

Last updated