hasItem
if ps.hasItem("repairkit", 2) then
print("Player has 2 repair kits.")
else
print("Not enough repair kits.")
endLast updated
if ps.hasItem("repairkit", 2) then
print("Player has 2 repair kits.")
else
print("Not enough repair kits.")
endLast updated