--No Vocation
if getPlayerStorageValue(cid, 3169) == -1 and getPlayerVocation(cid) == 0 then
doPlayerAddItem(cid, 2512, 1) -- wooden shield
doPlayerAddItem(cid, 2376, 1) -- sword
doPlayerAddItem(cid, 2467, 1) -- leather armor
doPlayerAddItem(cid, 2643, 1) -- leather boots
doPlayerAddItem(cid, 2649, 1) -- leather legs
doPlayerAddItem(cid, 2461, 1) -- leather helmet
doPlayerAddItem(cid, 1998, 1) -- backpack
doPlayerAddItem(cid, 2789, 100) -- brown mushrooms
setPlayerStorageValue(cid, 3169, 1)
-- Sorcerer
elseif getPlayerStorageValue(cid, 3169) == -1 and getPlayerVocation(cid) == 1 then
doPlayerAddItem(cid, 2515, 1) -- guardian shield
doPlayerAddItem(cid, 2187, 1) -- wand of inferno
doPlayerAddItem(cid, 2656, 1) -- blue robe
doPlayerAddItem(cid, 2195, 1) -- boh
doPlayerAddItem(cid, 2647, 1) -- plate legs
doPlayerAddItem(cid, 2491, 1) -- crown helmet
doPlayerAddItem(cid, 1998, 1) -- backpack
doPlayerAddItem(cid, 2789, 100) -- brown mushrooms
doPlayerAddItem(cid, 2273, 1) -- ultimate healing rune
doPlayerAddItem(cid, 2313, 1) -- explosion rune
doPlayerAddItem(cid, 2268, 1) -- sudden death rune
setPlayerStorageValue(cid, 3169, 1)
-- Druid
elseif getPlayerStorageValue(cid, 3169) == -1 and getPlayerVocation(cid) == 2 then
doPlayerAddItem(cid, 2515, 1) -- guardian shield
doPlayerAddItem(cid, 2183, 1) -- tempest rod
doPlayerAddItem(cid, 2656, 1) -- blue robe
doPlayerAddItem(cid, 2195, 1) -- boh
doPlayerAddItem(cid, 2647, 1) -- plate legs
doPlayerAddItem(cid, 2491, 1) -- crown helmet
doPlayerAddItem(cid, 1998, 1) -- backpack
doPlayerAddItem(cid, 2789, 100) -- brown mushrooms
doPlayerAddItem(cid, 2273, 1) -- ultimate healing rune
doPlayerAddItem(cid, 2313, 1) -- explosion rune
doPlayerAddItem(cid, 2268, 1) -- sudden death rune
setPlayerStorageValue(cid, 3169, 1)
-- Paladin
elseif getPlayerStorageValue(cid, 3169) == -1 and getPlayerVocation(cid) == 3 then
doPlayerAddItem(cid, 2455, 1) -- crossbow
--doPlayerAddItem(cid, 2376, 1) not used
doPlayerAddItem(cid, 2476, 1) -- knight armor
doPlayerAddItem(cid, 2195, 1) -- boh
doPlayerAddItem(cid, 2477, 1) -- knight legs
doPlayerAddItem(cid, 2475, 1) -- warrior helmet
doPlayerAddItem(cid, 1998, 1) -- backpack
doPlayerAddItem(cid, 2547, 100) -- bolts
doPlayerAddItem(cid, 2789, 100) -- brown mushrooms
doPlayerAddItem(cid, 2273, 1) -- ultimate healing rune
doPlayerAddItem(cid, 2311, 1) -- heavy magic missile
setPlayerStorageValue(cid, 3169, 1)
-- Knight
elseif getPlayerStorageValue(cid, 3169) == -1 and getPlayerVocation(cid) == 4 then
doPlayerAddItem(cid, 2519, 1) -- crown shield
doPlayerAddItem(cid, 2431, 1) -- stonecutter axe
doPlayerAddItem(cid, 2487, 1) -- crown armor
doPlayerAddItem(cid, 2195, 1) -- boh
doPlayerAddItem(cid, 2488, 1) -- crown legs
doPlayerAddItem(cid, 2497, 1) -- crusader helmet
doPlayerAddItem(cid, 1998, 1) -- backpack
doPlayerAddItem(cid, 2789, 100) -- brown mushrooms
doPlayerAddItem(cid, 2273, 1) -- ultimate healing rune
doPlayerAddItem(cid, 2311, 1) -- heavy magic missile
doPlayerAddItem(cid, 2313, 1) -- explosion rune
setPlayerStorageValue(cid, 3169, 1)
end
end
<movevent event="StepIn" actionid="1021" script="newequipment.lua" />
Did you even try to read my post?mbonc said:Anyway to remove the Cap system?
1. use flags. Go here
BullenFTW said:I got this
´<eof>´ expected near near ´end´
Any Idea? (Iam Using a BAD movement script, since my map is just converted from 7.92 to 8.0)
function onStepIn(cid, item, pos)
--No Vocation
if getPlayerStorageValue(cid, 3169) == -1 and getPlayerVocation(cid) == 0 then
doPlayerAddItem(cid, 2512, 1) -- wooden shield
doPlayerAddItem(cid, 2376, 1) -- sword
doPlayerAddItem(cid, 2652, 1) -- green tunic
doPlayerAddItem(cid, 2643, 1) -- leather boots
doPlayerAddItem(cid, 2649, 1) -- leather legs
doPlayerAddItem(cid, 2461, 1) -- leather helmet
doPlayerAddItem(cid, 1998, 1) -- backpack
doPlayerAddItem(cid, 2674, 5) -- 5 apple
doPlayerAddItem(cid, 2554, 1) -- shovel
doPlayerAddItem(cid, 2120, 1) -- rope
doPlayerAddItem(cid, 2398, 1) -- mace
doPlayerAddItem(cid, 2386, 1) -- axe
doPlayerAddItem(cid, 2182, 1) -- snakebite rod
doPlayerAddItem(cid, 2190, 1) -- wand of vortex
setPlayerStorageValue(cid, 3169, 1)
-- Sorcerer
elseif getPlayerStorageValue(cid, 3169) == -1 and getPlayerVocation(cid) == 1 then
doPlayerAddItem(cid, 2512, 1) -- wooden shield
doPlayerAddItem(cid, 2376, 1) -- sword
doPlayerAddItem(cid, 2652, 1) -- green tunic
doPlayerAddItem(cid, 2643, 1) -- leather boots
doPlayerAddItem(cid, 2649, 1) -- leather legs
doPlayerAddItem(cid, 2461, 1) -- leather helmet
doPlayerAddItem(cid, 1998, 1) -- backpack
doPlayerAddItem(cid, 2674, 5) -- 5 apple
doPlayerAddItem(cid, 2554, 1) -- shovel
doPlayerAddItem(cid, 2120, 1) -- rope
doPlayerAddItem(cid, 2398, 1) -- mace
doPlayerAddItem(cid, 2386, 1) -- axe
doPlayerAddItem(cid, 2182, 1) -- snakebite rod
doPlayerAddItem(cid, 2190, 1) -- wand of vortex
setPlayerStorageValue(cid, 3169, 1)
-- Druid
elseif getPlayerStorageValue(cid, 3169) == -1 and getPlayerVocation(cid) == 2 then
doPlayerAddItem(cid, 2512, 1) -- wooden shield
doPlayerAddItem(cid, 2376, 1) -- sword
doPlayerAddItem(cid, 2652, 1) -- green tunic
doPlayerAddItem(cid, 2643, 1) -- leather boots
doPlayerAddItem(cid, 2649, 1) -- leather legs
doPlayerAddItem(cid, 2461, 1) -- leather helmet
doPlayerAddItem(cid, 1998, 1) -- backpack
doPlayerAddItem(cid, 2674, 5) -- 5 apple
doPlayerAddItem(cid, 2554, 1) -- shovel
doPlayerAddItem(cid, 2120, 1) -- rope
doPlayerAddItem(cid, 2398, 1) -- mace
doPlayerAddItem(cid, 2386, 1) -- axe
doPlayerAddItem(cid, 2182, 1) -- snakebite rod
doPlayerAddItem(cid, 2190, 1) -- wand of vortex
setPlayerStorageValue(cid, 3169, 1)
-- Paladin
elseif getPlayerStorageValue(cid, 3169) == -1 and getPlayerVocation(cid) == 3 then
doPlayerAddItem(cid, 2512, 1) -- wooden shield
doPlayerAddItem(cid, 2376, 1) -- sword
doPlayerAddItem(cid, 2652, 1) -- green tunic
doPlayerAddItem(cid, 2643, 1) -- leather boots
doPlayerAddItem(cid, 2649, 1) -- leather legs
doPlayerAddItem(cid, 2461, 1) -- leather helmet
doPlayerAddItem(cid, 1998, 1) -- backpack
doPlayerAddItem(cid, 2674, 5) -- 5 apple
doPlayerAddItem(cid, 2554, 1) -- shovel
doPlayerAddItem(cid, 2120, 1) -- rope
doPlayerAddItem(cid, 2398, 1) -- mace
doPlayerAddItem(cid, 2386, 1) -- axe
doPlayerAddItem(cid, 2182, 1) -- snakebite rod
doPlayerAddItem(cid, 2190, 1) -- wand of vortex
setPlayerStorageValue(cid, 3169, 1)
-- Knight
elseif getPlayerStorageValue(cid, 3169) == -1 and getPlayerVocation(cid) == 4 then
doPlayerAddItem(cid, 2512, 1) -- wooden shield
doPlayerAddItem(cid, 2376, 1) -- sword
doPlayerAddItem(cid, 2652, 1) -- green tunic
doPlayerAddItem(cid, 2643, 1) -- leather boots
doPlayerAddItem(cid, 2649, 1) -- leather legs
doPlayerAddItem(cid, 2461, 1) -- leather helmet
doPlayerAddItem(cid, 1998, 1) -- backpack
doPlayerAddItem(cid, 2674, 5) -- 5 apple
doPlayerAddItem(cid, 2554, 1) -- shovel
doPlayerAddItem(cid, 2120, 1) -- rope
doPlayerAddItem(cid, 2398, 1) -- mace
doPlayerAddItem(cid, 2386, 1) -- axe
doPlayerAddItem(cid, 2182, 1) -- snakebite rod
doPlayerAddItem(cid, 2190, 1) -- wand of vortex
setPlayerStorageValue(cid, 3169, 1)
end
end
BullenFTW said:I will try it out now and Hope it works... Thanks again Agostino
Works perfect now!!!