sowber
New Member
- Joined
- Sep 30, 2016
- Messages
- 35
- Reaction score
- 0
Hello, i'm trying to create a script wich checks PlayerStorageValue from number to number. How to it properly with just 1 line? Here comes an example:
Lua:
if getPlayerStorageValue(cid,44601-44700) < 0 then
doPlayerSetStorageValue(cid,44601,1-44609,1) -- Storages
doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Your questlog has been updated.")
end