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

Item Addon

Teddy

SweStream.se
Joined
Oct 2, 2008
Messages
3,797
Reaction score
10
Location
Sweden 172
Do any know how to make a cheast/or a item
if you press use you get a addon ? :S

(I have use the search function)
 
Lua:
function onUse(cid, item)
    if getPlayerStorageValue(cid, storage) ~= FALSE then
        doPlayerAddOutfit(cid, outfit_id, addons)
        doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have found an outfit addons!")
    else
        doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "The chest is empty.")
    end

    return true
end
 
Back
Top