Angel Of Death
Rise Of Tibia ServerOwner
- Joined
- Mar 12, 2012
- Messages
- 91
- Reaction score
- 0
LUA:
elseif msgcontains(msg, "skill") then
if doPlayerRemoveMoney(cid, 5000) == true then
setPlayerStorageValue(cid, 60010, 1)
npcHandler:say("This {Skill} is a very high quality item. Use it wisely.", cid, 1000)
else
npcHandler:say("You don't have enught money to buy this {skill} or have already learned the {skill}.", cid, 1000)
end
i need it to do +1 so like
LUA:
setPlayerStorageValue(cid, 60010, +1)
but when i do that the npc wont load