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

In game acc manager!

Starting items (weapon? -.-) have nothing to do with Account Manager. For that, please refer to /data/creaturescripts/scripts/firstitems.lua
 
No thanks, don't rep me now, because it would be pointless (you have too few posts)
Btw, it's an icon which looks like this:
I think you can see it to the left [<] <_<
 
-- Script Creado por Nuubito - Trekes

local items = {
[1] = { 8819, 8820, 2468, 2509, 2643, 2190 },
[2] = { 8819, 8820, 2468, 2509, 2643, 2182 },
[3] = { 2509, 2643, 8923, 8892, 2481, 2389 },
[4] = { 2643, 2478, 2465, 2481, 2509 }
}
function onLogin(cid)
if getPlayerStorageValue(cid, 30001) == -1 then
for voc, item in pairs(items) do
if getPlayerVocation(cid) == voc then
local container = doPlayerAddItem(cid, 1988, 1)
for i = 1, table.maxn(item) do
doAddContainerItem(container, item, 1)
end
setPlayerStorageValue(cid, 30001, 1)
end
end
end
return TRUE
end



Ok so i got that an di need to give the players more than 1 acc how do i change it? Any help?
 
Back
Top