deleteGang

This deletes the gang from the gangs name

Usage

exports.gfg_gangs:deleteGang(name)
  • name: string (The new name of the gang)

Utilizing this export will also set all members of that gang to the "none" gang (default) with a rank of 0. It will also delete all the ranks from the gang.

Example

-- This gets the current player gang
local playerGang = exports.gfg_gangs:getPlayerGangInfoFromId()

-- This deletes the gang
exports.gfg_gangs:deleteGang(playerGang.name)

Last updated