Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 1.91 KB

File metadata and controls

64 lines (42 loc) · 1.91 KB
description
You can see some utils functions

Utils

PLAYER:AASModelEquiped(model)

Return if the player has the model equiped

Types Arguments Descriptions Optional
string model The model

Return :

Types Parameters Descriptions
boolean isEquiped If the player has the model equiped

AAS.ItemExists(model, skin)

Return if the item exists by it model and skin

Types Arguments Descriptions Optional
string model The item model
number radius The item skin

Return :

Types Parameters Descriptions
boolean exists If the item exists

PLAYER:AASCheckDistEnt(class, radius)

Return if a certain entity class is near the player

Types Arguments Descriptions Optional
string class The entity class
number 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
number uniqueId The item uniqueId to unequip

PLAYER:AASAddMoney()

Add or remove to player some money

{% hint style="info" %} If you want to remove to player money, you have to set a negative number {% endhint %}

Types Arguments Descriptions Optional
number money The money to add or remove