• 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!

how to - 10% price when player have storage

Mauzim

Member
Joined
Jan 3, 2011
Messages
568
Reaction score
9
FROM THIS SCRIPT HOW TO - 10% PRICE WHEN PLAYER HAVE STORAGE
LUA:
		if v < 31 then
			v = 2000
		elseif v > 119 then
			v = 20000
		else
			v = (v - 20) * 200
		end
 
Code:
		if v < 31 then
			v = 2000
		elseif v > 119 then
			v = 20000
		else
			v = (v - 20) * 200
		end

		if getCreatureStorage(cid, key) == 1 then
			v = v * 0.9
		end
 
Back
Top