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

Skull Remover - question

wladca

Member
Joined
Dec 9, 2008
Messages
641
Reaction score
6
Location
Poland,Grodzisk Mazowiecki
It's possible to make skull remover without frags ? I mean you will use frag remover and it delete your skull but not frags?

Please for this script!

Thanks
 
Last edited:
no it isn't possible....
Lua:
function onUse(cid, item, frompos, item2, topos)
       
        local nonremskulls ={   -- These are the skulls it cant remove. If player has any of these, the rune wont wor
								SKULL_WHITE,
								0
								
							}


        if isInArray(nonremskulls, getPlayerSkullType(cid)) then
                doPlayerSendCancel(cid,"You either dont have a skull or your skull is non removal.")
                doSendMagicEffect(getPlayerPosition(cid),2)
        else
                doCreatureSetSkullType(cid,0)
                doPlayerSendTextMessage(cid,27,"Your skull have been removed, thanks for donating!")
                doSendMagicEffect(getPlayerPosition(cid),CONST_ME_MAGIC_RED)
				doSendAnimatedText(getPlayerPosition(cid), "Removed!", 180)
                doRemoveItem(item.uid, 1)
        end
	return true
end
 
Back
Top