โ™ป๏ธExports

With these exports, you will be able to manipulate the system from scripts external to it.


Client Exports

GetGangID
exports["origen_ilegal"]:GetGangID()

Return the user's gang ID, if they are not in any gang, return false

IsHandcuffed
exports["origen_ilegal"]:IsHandcuffed()

Returns if the user is handcuffed


Server Exports

addGangExperience
--@param source The player source
--@param amount The amount of experience to add
--@param stat The stat to add the experience to (optional) if not provided it will add to the gang experience, availed stats: maria, meta, coca, weapons
exports["origen_ilegal"]:addGangExperience(src, amount, stat)

Add experience to a gang, return true if the experience was added and false if not

GetGangID
exports["origen_ilegal"]:GetGangID(src)

Return the user's gang ID; if they are not in any gang, return false

GetGangData

Returns internal gang data


Client Events

openMapTerritories

Return if you need to Open the Territories Map

OpenGangMenu

Return if the user need to Open the Gang Menu in client side

Server Events

OpenGangMenu

Return if the user need to Open the Gang Menu in server side

Last updated