updatePlayerGang

This export updates the players gang information from their identifier

Usage

exports.gfg_gangs:updatePlayerGang(identifier, gang, rank)
  • identifier: int (The players identifier that you wish to update)

  • gang: string(The gang name that you wish to update the player to)

  • rank: int (The rank that you wish to update the player to)

Example

local xPlayer = ESX.GetPlayerData()
exports.gfg_gangs:updatePlayerGang(xPlayer.identifier, "gfg", 1)

Last updated