updateGangRankData
This updates the ranks data for the rank from the ranks id
Usage
id:
int
(The id of the rank you wish to update)rank:
int
(The rank of the rank, where it sits in the hierarchy)name:
string
(The name of the rank)label:
string
(The label of the rank)canRecruit:
int
(Whether or not that rank has recruitment ability, 0 being no, 1 being yes)canManage:
int
(Whether or not that rank has management ability, 0 being no, 1 being yes)isBoss:
int
(Whether or not that rank has boss ability, 0 being no, 1 being yes)
Returns: table
(The updated rank data)
id:
int
(The id of the rank)gang_name:
string
(The name of the gang the rank is associated with)rank:
int
(The rank of the rank, where it sits in the hierarchy)name:
string
(The name of the rank)label:
string
(The label of the rank)canRecruit:
int
(Whether or not that rank has recruitment ability, 0 being no, 1 being yes)canManage:
int
(Whether or not that rank has management ability, 0 being no, 1 being yes)isBoss:
int
(Whether or not that rank has boss ability, 0 being no, 1 being yes)
Example
Last updated