Utils

You can see some utils functions

ASS.ItemExist(model, skin)

Return if the item exists by it model and skin

Types

Arguments

Descriptions

Optional

model

The item model

radius

The item skin

Return :

Types

Parameters

Descriptions

exists

If the item exists

AAS.GetTableById(uniqueId)

Return if the item exists by the item uniqueId

Types

Arguments

Descriptions

Optional

uniqueId

The item uniqueId to check if exists

Return :

Types

Parameters

Descriptions

exists

If the item exists

PLAYER:AASCheckDistEnt(class, radius)

Return if a certain entity class is near the player

Types

Arguments

Descriptions

Optional

class

The entity class

radius

The max distance between the player and the entity

PLAYER:AASCheckJob(uniqueId)

Return if the player has the good job for interact with the item

Types

Arguments

Descriptions

Optional

uniqueId

The item uniqueId to unequip

PLAYER:AASAddMoney()

Add or remove to player some money

If you want to remove to player money, you have to set a negative number

Types

Arguments

Descriptions

Optional

money

The money to add or remove

AAS.ChangeLangage()

Change basics items descriptions and names compared to the selected language

AAS.ConvertSqlToDataTable()

Convert the items list from the sql database to a lua table

The converted lua table is located in data/aas_item_table.txt

Last updated

Was this helpful?