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

[SEARCHING] Both Addons By Clicking On Statue. [On-Click Script]

MaxMeduza

\ ~.Compaq OTs.~ /
Joined
Jul 26, 2009
Messages
62
Reaction score
0
Location
Sweden
Hello, Im searching for a script that gives you both addons when you click on a statue. (Only works once per character)

Thanks for your time.
 
LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
        if getPlayerStorageValue(cid,1503) < 2 then  
        doCreatureSay(cid, 'Congratulations! You have been granted both Citizen Addons!', TALKTYPE_ORANGE_1)
        doPlayerAddOutfit(cid, 128, 3)
        doPlayerAddOutfit(cid, 136, 3)
	doSendMagicEffect(getPlayerPosition(cid), 29)
        setPlayerStorageValue(cid,1503,2)
    else 
        doCreatureSay(cid, 'The Statue has no more Energy.', TALKTYPE_ORANGE_1)
    end
    return true
end

Edit it to your needs!
 

Similar threads

Back
Top