• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

adding to a storage value?

ziggy46802

Active Member
Joined
Aug 19, 2012
Messages
418
Reaction score
27
Is there anyway to do something like

Code:
if getPlayerStorageValue(cid, 7000) < 100
then setPlayerStorageValue(cid, 7000, +1)

And I am using the OTServ 8.60 r.6052
 
It would be something like this
Code:
if getPlayerStorageValue(cid, 7000) < 100 then
setPlayerStorageValue(cid, getPlayerStorageValue(cid, 7000) + 1)

I don't know if thats the functions you use for OTServ but if it is, that should work
 
Back
Top