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

BP of SD in chest

Triggah

TrigCore
Joined
Aug 1, 2007
Messages
436
Reaction score
2
how would i make a chest quest that player receives a bp of sd runes with 3 charges each?
 
Code:
function onUse(cid, item)
    if getPlayerStorageValue(cid, storage) ~= TRUE then
        local container = doPlayerAddItem(cid, bpId, 1)
        for i = 1,20 do
            doAddContainerItem(container, sdid, 3)
        end
    else
        doPlayerSendTextMessage(cid, 22, "The chest is empty.")
    end

    return TRUE
end
 
how would i make the chest give me a bag with 3bp of sd? and what would the actionid or uniqueid be on the map editor?
 
Back
Top