1
0
Fork 0
forked from Simnation/Main
Main/resources/[tools]/kq_link/resource/server.lua

16 lines
333 B
Lua
Raw Normal View History

2025-06-07 08:51:21 +02:00
-- Custom useful functions
function AddPlayerItemToFit(player, item, amount)
local gotItems = false
while not gotItems and amount > 0 do
gotItems = AddPlayerItem(player, item, amount)
if not gotItems then
amount = amount - 1
end
end
return gotItems, amount
end