Hello,
simple and useful, check if player have storage value between two numbers (also if have one of that two).
simple and useful, check if player have storage value between two numbers (also if have one of that two).
Lua:
function isStorageBetween(cid, storage, minValue, maxValue)
if getPlayerStorageValue(cid, storage) >= minValue and getPlayerStorageValue(cid, storage) <= maxValue then
return true
end
return false
end