-- 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?