๐งฉ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, glovebox)
-- Vehicle: The Vehicle where the Trunk should be opened
-- glovebox: boolean / true = Opens Glovebox / false = Opens Trunk
Search a Player (Selects the nearest Player)
TriggerEvent("SService:Server:SearchPlayer")
TriggerClientEvent("SService:Server:SearchPlayer", targetsrc)
Last updated