• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

All in one, Starting Equipment.

Berzerky

Banned User
Joined
Apr 7, 2008
Messages
799
Reaction score
0
Location
Your mum's bed.
I'm requesting a script, for the start equipment of my current project.
Like, you take 1 chest it says.

8:27 You have found a backpack. (vol:20)
And it has, Chain armour, Studded legs, Legion helmet, Katana, wand of vortex and snakebite rod in it.
Like the Script from Radonia.

I hope someone can help us.

Kind regards,

Jake
 
Code:
function onUse(cid, item) -- fill in more
    local itemsIn = { chain arm, 
                      katana, 
                      and so on
    }
    local bpId = xxxx
    if getPlayerStorageValue(cid, xxxx) == FALSE then
        local container = doPlayerAddItem(cid, bpId, 1)
        for i = 1,table.maxn(itemsIn) do
            doAddContainerItem(container, itemsIn[i], 1)
        end
        doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have found a backpack.")
        setPlayerStorageValue(cid, xxxx, 1)
    else
        doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is empty.")
    end
end
 
Back
Top