Hi, That's Items for lov lv! Who do not tire, making the quest for, LOV lv why? How can ... Make the script, First items?
Tested on TFS AND EVO BY MANIUCZKA
here is the scripts!
Do creaturescripts.xml
Do Login.lua
And Doing script called firstitems.lua
I think that I helped Please comment
Tested on TFS AND EVO BY MANIUCZKA
here is the scripts!
Do creaturescripts.xml
<event type="login" name="FirstItems" event="script" value="firstitems.lua"/>
Do Login.lua
registerCreatureEvent(cid, "FirstItems")
And Doing script called firstitems.lua
function onLogin(cid)
if getPlayerGroupId(cid) == 1 and getPlayerStorageValue(cid, 50002) == -1 then
if isSorcerer(cid) then
local bag = doPlayerAddItem(cid, 1988, 1)
doAddContainerItem(bag, 2120, 1) -- Rope
doAddContainerItem(bag, 2554, 1) -- shovel
doAddContainerItem(bag, 2152, 100) -- 50 platinum coints
doPlayerAddItem(cid, 2175, 1) -- spellbook
doPlayerAddItem(cid, 2190, 1) -- wand of wortex
doPlayerAddItem(cid, 2463, 1) -- p armor
doPlayerAddItem(cid, 2490, 1) -- dark helmet
doPlayerAddItem(cid, 2647, 1) -- p legs
doPlayerAddItem(cid, 2643, 1) -- leather boots
doPlayerAddItem(cid, 2173, 1) -- amulet of loss
doPlayerAddItem(cid, 2273, 1) -- UH
doPlayerAddItem(cid, 2672, 100) -- DHam
setPlayerStorageValue(cid, 50002, 1)
elseif isDruid(cid) then
local bag = doPlayerAddItem(cid, 1988, 1)
doAddContainerItem(bag, 2120, 1) -- rope
doAddContainerItem(bag, 2554, 1) -- shovel
doAddContainerItem(bag, 2152, 100) -- 50 platinum coins
doPlayerAddItem(cid, 2175, 1) -- spellbook
doPlayerAddItem(cid, 2182, 1) -- snakebite rod
doPlayerAddItem(cid, 2463, 1) -- p armor
doPlayerAddItem(cid, 2490, 1) -- dark helmet
doPlayerAddItem(cid, 2647, 1) -- p legs
doPlayerAddItem(cid, 2643, 1) -- leather boots
doPlayerAddItem(cid, 2173, 1) -- amulet of loss
doPlayerAddItem(cid, 2273, 1) -- UH
doPlayerAddItem(cid, 2672, 100) -- DHam
setPlayerStorageValue(cid, 50002, 1)
elseif isPaladin(cid) then
local bag = doPlayerAddItem(cid, 1988, 1)
doAddContainerItem(bag, 2120, 1) -- rope
doAddContainerItem(bag, 2554, 1) -- shovel
doAddContainerItem(bag, 2152, 100) -- 50 platinum coins
doPlayerAddItem(cid, 2389, 1) -- spear
doPlayerAddItem(cid, 2456, 1) -- bow
doPlayerAddItem(cid, 2544, 100) -- 100 arrows
doPlayerAddItem(cid, 2463, 1) -- p armor
doPlayerAddItem(cid, 2490, 1) -- dark helmet
doPlayerAddItem(cid, 2647, 1) -- p legs
doPlayerAddItem(cid, 2643, 1) -- leather boots
doPlayerAddItem(cid, 2173, 1) -- amulet of loss
doPlayerAddItem(cid, 2273, 1) -- UH
doPlayerAddItem(cid, 2672, 100) -- DHam
setPlayerStorageValue(cid, 50002, 1)
elseif isKnight(cid) then
local bag = doPlayerAddItem(cid, 1988, 1)
doAddContainerItem(bag, 2120, 1) -- rope
doAddContainerItem(bag, 2554, 1) -- shovel
doAddContainerItem(bag, 2152, 100) -- 50 platinum coins
doAddContainerItem(bag, 2439, 1) -- daramanian mace
doAddContainerItem(bag, 8601, 1) -- steel axe
doPlayerAddItem(cid, 2509, 1) -- steel shield
doPlayerAddItem(cid, 8602, 1) -- jagged sword
doPlayerAddItem(cid, 2463, 1) -- p armor
doPlayerAddItem(cid, 2490, 1) -- dark helmet
doPlayerAddItem(cid, 2647, 1) -- p legs
doPlayerAddItem(cid, 2643, 1) -- leather boots
doPlayerAddItem(cid, 2173, 1) -- amulet of loss
doPlayerAddItem(cid, 2273, 1) -- UH
doPlayerAddItem(cid, 2672, 100) -- DHam
setPlayerStorageValue(cid, 50002, 1)
end
end
return TRUE
I think that I helped Please comment