• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

I need alittle help with setPlayerStorageValue(cid, 60010, 1)

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
 
Back
Top