Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
..
backpack = doPlayerAddItem(cid, 1988, 1)
for i = 1, 20 do
doAddContainerItem(backpack, RuneId, 1)
end
..
Bugged?
You add player BP (he has 20 cap) and then try to add runes to this bp. If player has 0 cap (if bp weight is 20 oz) runes will not appear :>
First create itemEx (bp), then add runes to this container and then add this container to player with 'canDropOnMap = true'. TFS 0.3.4pl2 functions:
..
backpack = doCreateItemEx(1988, 1)
for i = 1, 20 do
doAddContainerItemEx(uid, doCreateItemEx(RuneId, 1))
end
doPlayerAddItemEx(cid, backpack, TRUE)
..
Trying but I think I'll need to add them to global.lua, since it's saying this; data/actions/scripts/other/thunderstorm.lua:8: attempt to call global 'getItemNameById' <a nil value>
so.. ill try to add every id of the 31 scripts on global.lua, dunno if it will work :S