Hey folks, I'm having an issue with my firstitems.xml
Basically my aac isn't giving the starter eq it should be... here is my current script, can someone tell me if i am missing anything here? Also to add, I'm not getting any errors in my execute.
Basically my aac isn't giving the starter eq it should be... here is my current script, can someone tell me if i am missing anything here? Also to add, I'm not getting any errors in my execute.
local firstItems =
{
2050,
2395,
2465,
2478,
2511,
2460
}
function onStepIn(cid, item, position, fromPosition)
if isPlayer(cid) == TRUE then
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, 2651, 1)
else
doPlayerAddItem(cid, 2650, 1)
end
local bag = doPlayerAddItem(cid, 1987, 1)
doAddContainerItem(bag, 2674, 1)
setPlayerStorageValue(cid, 30001, 1)
end
end
return TRUE
end