Im using Tfs 4.0
isn't runing this 1, players starts without equip, some 1 know what could i do?
local firstItems =
{
2463,
2383,
2647,
2643,
2457,
2525
}
function onLogin(cid)
if getPlayerStorageValue(cid, 30001) == -1 then
for i = 1, table.maxn(firstItems) do
doPlayerAddItem(cid, firstItems, 1)
end
if getPlayerSex(cid) == 0 then
doPlayerAddItem(cid, 2544, 100)
else
doPlayerAddItem(cid, 2544, 100)
end
local bag = doPlayerAddItem(cid, 1988, 1)
doAddContainerItem(bag, 2554, 1)
doAddContainerItem(bag, 2182, 1)
doAddContainerItem(bag, 2190, 1)
doAddContainerItem(bag, 2120, 1)
doAddContainerItem(bag, 2456, 1)
setPlayerStorageValue(cid, 30001, 1)
end
return TRUE
end
isn't runing this 1, players starts without equip, some 1 know what could i do?