Client
Remove Weapon Hand
The player remove the weapon in their hand and saves their last data
TriggerEvent("inventory:client:removeWeapon")
Set Current Weapon
You can use a weapon that does not exist in the player's inventory
TriggerEvent("weapons:client:SetCurrentWeapon", nil, weaponName)
Parameters :
Name
Type
Description
weaponName*
string
Weapon spawn name (Example: "weapon_pistol")
Opens Default Crafting
Opens default crafting inventory
TriggerEvent("tgiann-inventory:craft:openDefault")
Last updated