๐ŸงฉExports and Events

You need specific Exports or Events for your Scripts? Here is your way to go!

Open a Stash Inventory

exports["S-Inventory"]:OpenStashInventory(uniqueid, stashid)
-- Uniqueid: A group for the Stash
-- Stashid: A unique ID for the Stash

Return/Open Player Inventory

exports["S-Inventory"]:ReturnToInventory()

Lock the Inventory for a Person

exports["S-Inventory"]:LockInventory(locked)
-- Locked: Whether the inventory of the person should be locked

Lock the Drop of Items (Preventing Duping in FFA's and Gangwars)

exports["S-Inventory"]:LockDropofItem(locked)
-- Locked: Whether the drop function of the inventory should be locked

Open a Players Inventory

exports["S-Inventory"]:ReturnToPlayerInventory(playerId)
-- PlayerID: The ID of the person which inventory should be opened

Return/Open to a Trunk

exports["S-Inventory"]:ReturnToTrunk(vehicle)
-- Vehicle: The Vehicle where the Trunk should be opened

Search a Player (Selects the nearest Player)

TriggerEvent("SService:Server:SearchPlayer")
TriggerClientEvent("SService:Server:SearchPlayer", targetsrc)

If you need a Export that is not listed above, feel free to open a ticket at our Discord, so that we can implement your new Export in no time!

Last updated