T1GER Gang System

Documentation, troubleshooting and support for T1GER Gang System resource

Information

Chat Commands

Please note, all these command strings are configurable and can be disabled as well.

CommandDescription

/admingang

Open the admin gang menu.

/gangmenu

Open the player gang menu.

/street

Prints street name at player coords (Config.Debug = true).

Exports

These are available exports in the resource - use them as you please and find necessary.

Admin Gang Menu

exports['t1ger_gangsystem']:AdminGangMenu()

Void:

  • Opens the admin gang menu.

Player Gang Menu

exports['t1ger_gangsystem']:PlayerGangMenu()

Void:

  • Opens the player gang menu.

Is Target Ziptied

exports['t1ger_gangsystem']:IsTargetZiptied(targetId)

Parameters:

  • The target handle (target server id).

Returns:

  • true/false (booleant)

Gets whether the target player is ziptied or not.

Events

These are optional events that you may need to use from other resources to add compatibility.

Plus Notoriety Points

TriggerServerEvent('gangsystem:server:plusNotoriety', gangId, points)

Paramters:

  • The gang handle (gang id) or nil (script will find gang id from the source player).

  • points to add (int).

Adds x points to the gangs current notoriety points.

Minus Notoriety Points

TriggerServerEvent('gangsystem:server:minusNotoriety', gangId, points)

Paramters:

  • The gang handle (gang id) or nil (script will find gang id from the source player).

  • points to deduct (int).

Deducts x points from the gangs current notoriety points.

Plus Gang Cash

TriggerServerEvent('gangsystem:server:plusGangCash', gangId, cashAmount)

Paramters:

  • The gang handle (gang id) or nil (script will find gang id from the source player).

  • cash to add (int).

Adds x cash to the gangs cash locker.

Minus Gang Cash

TriggerServerEvent('gangsystem:server:minusGangCash', gangId, cashAmount)

Paramters:

  • The gang handle (gang id) or nil (script will find gang id from the source player).

  • cash to deduct (int).

Deducts x cash from the gangs cash locker.

Support

Common Issues

Before we proceed, please ensure the following:

  1. Resource folder of the package is named: t1ger_gangsystem.

  2. You have not touched nor edited files inside t1ger_gangsystem/escrow/.

  3. You have not made any custom changes.

TITLE Question/Issue

✔️ Solution/Answer/Instruction

Error Codes

If you getting an error code in your server- or client-console, then please find the error-code from below and fix your issue with the provided instructions.

Last updated