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

Hey guys how do u change the starter eq people get in there backpack?

23902201111

***** Danny
Joined
Jul 21, 2009
Messages
10
Reaction score
0
Location
ireland
guys how do u change starter eq people get in there bp? ive got forgotten legend map and i rly need to change starter eq thanks guys ;)
 
Go to data/creaturescripts/scripts/firstitems and paste this in there and edit the item ids and the amount of them hwoever you like:

------------------------------------------------------------------------------

function onLogin(cid)
if getPlayerGroupId(cid) == 1 and getPlayerStorageValue(cid, 50000) == -1 then
if isSorcerer(cid) then
local bag = doPlayerAddItem(cid, 1988, 1)

doAddContainerItem(bag, 2120, 1)
doAddContainerItem(bag, 2554, 1)
doAddContainerItem(bag, 2160, 5)

doPlayerAddItem(cid, 2175, 1)
doPlayerAddItem(cid, 2190, 1)
doPlayerAddItem(cid, 8819, 1)
doPlayerAddItem(cid, 8820, 1)
doPlayerAddItem(cid, 2468, 1)
doPlayerAddItem(cid, 2643, 1)
doPlayerAddItem(cid, 2674, 5)

setPlayerStorageValue(cid, 50000, 1)

elseif isDruid(cid) then
local bag = doPlayerAddItem(cid, 1988, 1)
doAddContainerItem(bag, 2120, 1)
doAddContainerItem(bag, 2554, 1)
doAddContainerItem(bag, 2160, 5)

doPlayerAddItem(cid, 2175, 1)
doPlayerAddItem(cid, 2182, 1)
doPlayerAddItem(cid, 8819, 1)
doPlayerAddItem(cid, 8820, 1)
doPlayerAddItem(cid, 2468, 1)
doPlayerAddItem(cid, 2643, 1)
doPlayerAddItem(cid, 2674, 5)

setPlayerStorageValue(cid, 50000, 1)

elseif isPaladin(cid) then
local bag = doPlayerAddItem(cid, 1988, 1)
doAddContainerItem(bag, 2120, 1)
doAddContainerItem(bag, 2554, 1)
doAddContainerItem(bag, 2160, 5)

doPlayerAddItem(cid, 2456, 1)
doPlayerAddItem(cid, 2544, 100)
doPlayerAddItem(cid, 2480, 1)
doPlayerAddItem(cid, 2674, 5)

setPlayerStorageValue(cid, 50000, 1)

elseif isKnight(cid) then
local bag = doPlayerAddItem(cid, 1988, 1)
doAddContainerItem(bag, 2120, 1)
doAddContainerItem(bag, 2554, 1)
doAddContainerItem(bag, 2160, 5)
doAddContainerItem(bag, 7870, 1)
doAddContainerItem(bag, 7769, 1)

doPlayerAddItem(cid, 2509, 1)
doPlayerAddItem(cid, 2674, 5)

setPlayerStorageValue(cid, 50000, 1)
end
end
return TRUE
end

------------------------------------------------------------------------------

Be sure to rep me if this helped
 
Back
Top