GetPlayersInRobbery
Returns a table with all the players inside the robbery, this doesnt 100% means that they are robbers but only that they are near/in the robbery location (physically)
Name
Type
Default
Description
id
number
The store id (only 1 for now)
Example
local players = exports["utility_jewelry"]:GetPlayersInRobbery(1)
for k,v in pairs(players) do
print("The player "..GetPlayerName(v).." ("..v..") is inside the robbery")
end
Last updated
Was this helpful?