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

Windows Runes Error

a7aa7a

Member
Joined
Jul 5, 2011
Messages
316
Reaction score
13
Hello !

I Want Know I Can Make This Rune Infinte
Code:
function onUse(cid, item, frompos, item2, topos)
mag = getPlayerMagLevel(cid)
if mag >= 3 then
doSendMagicEffect(topos,1)
doPlayerSay(cid,"Infinite X-Great Manarune",16)
doPlayerAddMana(cid, 22000)
if item.type > 1 then
doChangeTypeItem(item.uid,item.type-1)
else
doRemoveItem(item.uid,1)
end
else
doSendMagicEffect(frompos,2)
doPlayerSendCancel(cid,"You don't have the required magic level to use that rune.")
end
return 1
end
Pless Help !
 
lol................
Lua:
function onUse(cid, item, frompos, item2, topos)mag = getPlayerMagLevel(cid)
if mag >= 3 then
doSendMagicEffect(topos,1)
doPlayerSay(cid,"Infinite X-Great Manarune",16)
doPlayerAddMana(cid, 22000)
else
doSendMagicEffect(frompos,2)
doPlayerSendCancel(cid,"You don't have the required magic level to use that rune.")
end
return 1
end
 
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if getPlayerMagicLevel(cid) >= 3 then		
		doSendMagicEffect(getThingPos(cid), CONST_ME_LOSEENERGY)
		doPlayerSay(cid,"Infinite X-Great Manarune", 16)
		doPlayerAddMana(cid, 22000)
	else
		doSendMagicEffect(getThingPos(cid), CONST_ME_POFF)
		doPlayerSendCancel(cid, "You do not have the required magic level to use this shit")
	end
	return true
end
You really need to learn how to fix scripts on your own
 
Back
Top