Hello
I have problem with "getThingfromPos" function.
Here is piece of script:
So when on pos are standing more than 1 player then in table is insert only 1 player.
How to fix it??
Should I use other function??
Thanks and rep++ for help :thumbup:
I have problem with "getThingfromPos" function.
Here is piece of script:
Code:
local playerCheck, playerTable = getThingfromPos([COLOR="red"]{x=94, y=120, z=7,stackpos = 253}[/COLOR]), {}
if isPlayer(playerCheck.uid) then
table.insert(playerTable, playerCheck)
end
So when on pos are standing more than 1 player then in table is insert only 1 player.
How to fix it??
Should I use other function??
Thanks and rep++ for help :thumbup: