Get player armory weapons
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
To get a list of weapons of a player stored in a specific armory ID.
exports["jobs_creator"]:getPlayerArmoryWeapons(playerId, markerId)
playerId
integer
Player server ID
markerId
integer
The marker ID
playerArmoryWeapons
table
List of all weapons contained in the marker deposited by the player
local playerId = 20
local markerId = 52
local playerArmoryWeapons = getPlayerArmoryWeapons(playerId, markerId)
print("Player weapons in that armory")
print(ESX.DumpTable(playerArmoryWeapons))