Follow along with the video below to see how to install our site as a web app on your home screen.
Notka: This feature may not be available in some browsers.
function onCastSpell(cid, var)
if getPlayerVocation(cid) == 1 then
if getPlayerLevel(cid) >= 30 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,2)
doCreatureChangeOutfit(cid, {lookType=7})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 2 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,3)
doCreatureChangeOutfit(cid, {lookType=8})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 3 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,4)
doCreatureChangeOutfit(cid, {lookType=257})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 4 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,5)
doCreatureChangeOutfit(cid, {lookType=59})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 5 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,6)
doCreatureChangeOutfit(cid, {lookType=59})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 6 then
if getPlayerLevel(cid) >= 250 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,49)
doCreatureChangeOutfit(cid, {lookType=46})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 7 then
if getPlayerLevel(cid) >= 30 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,8)
doCreatureChangeOutfit(cid, {lookType=70})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 8 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,9)
doCreatureChangeOutfit(cid, {lookType=71})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 9 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,10)
doCreatureChangeOutfit(cid, {lookType=66})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 10 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,11)
doCreatureChangeOutfit(cid, {lookType=71})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 11 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,12)
doCreatureChangeOutfit(cid, {lookType=274})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 12 then
if getPlayerLevel(cid) >= 250 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,50)
doCreatureChangeOutfit(cid, {lookType=274})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 13 then
if getPlayerLevel(cid) >= 30 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,14)
doCreatureChangeOutfit(cid, {lookType=24})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 14 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,15)
doCreatureChangeOutfit(cid, {lookType=30})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 15 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,16)
doCreatureChangeOutfit(cid, {lookType=29})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 16 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,17)
doCreatureChangeOutfit(cid, {lookType=23})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 17 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,18)
doCreatureChangeOutfit(cid, {lookType=101})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 18 then
if getPlayerLevel(cid) >= 250 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,51)
doCreatureChangeOutfit(cid, {lookType=280})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 19 then
if getPlayerLevel(cid) >= 30 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,20)
doCreatureChangeOutfit(cid, {lookType=64})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 20 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,21)
doCreatureChangeOutfit(cid, {lookType=81})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 21 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,22)
doCreatureChangeOutfit(cid, {lookType=76})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 22 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,23)
doCreatureChangeOutfit(cid, {lookType=63})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 23 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,24)
doCreatureChangeOutfit(cid, {lookType=83})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 24 then
if getPlayerLevel(cid) >= 250 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,52)
doCreatureChangeOutfit(cid, {lookType=83})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 25 then
if getPlayerLevel(cid) >= 30 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,26)
doCreatureChangeOutfit(cid, {lookType=106})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 26 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,27)
doCreatureChangeOutfit(cid, {lookType=106})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 27 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,28)
doCreatureChangeOutfit(cid, {lookType=105})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 28 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,29)
doCreatureChangeOutfit(cid, {lookType=105})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 29 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,30)
doCreatureChangeOutfit(cid, {lookType=31})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 30 then
if getPlayerLevel(cid) >= 250 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,53)
doCreatureChangeOutfit(cid, {lookType=31})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 31 then
if getPlayerLevel(cid) >= 30 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,32)
doCreatureChangeOutfit(cid, {lookType=212})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 32 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,33)
doCreatureChangeOutfit(cid, {lookType=211})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 33 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,34)
doCreatureChangeOutfit(cid, {lookType=100})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 34 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,35)
doCreatureChangeOutfit(cid, {lookType=61})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 35 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,36)
doCreatureChangeOutfit(cid, {lookType=109})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 36 then
if getPlayerLevel(cid) >= 250 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,54)
doCreatureChangeOutfit(cid, {lookType=109})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 37 then
if getPlayerLevel(cid) >= 30 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,38)
doCreatureChangeOutfit(cid, {lookType=344})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 38 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,39)
doCreatureChangeOutfit(cid, {lookType=345})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 39 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,40)
doCreatureChangeOutfit(cid, {lookType=339})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 40 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,41)
doCreatureChangeOutfit(cid, {lookType=347})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 41 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,42)
doCreatureChangeOutfit(cid, {lookType=216})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 42 then
if getPlayerLevel(cid) >= 250 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,55)
doCreatureChangeOutfit(cid, {lookType=216})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 43 then
if getPlayerLevel(cid) >= 30 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,44)
doCreatureChangeOutfit(cid, {lookType=78})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 44 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,45)
doCreatureChangeOutfit(cid, {lookType=35})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 45 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,46)
doCreatureChangeOutfit(cid, {lookType=262})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 46 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,47)
doCreatureChangeOutfit(cid, {lookType=262})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 47 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,48)
doCreatureChangeOutfit(cid, {lookType=104})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 48 then
if getPlayerLevel(cid) >= 250 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,56)
doCreatureChangeOutfit(cid, {lookType=104})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 57 then
if getPlayerLevel(cid) >= 30 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,58)
doCreatureChangeOutfit(cid, {lookType=67})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 58 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,59)
doCreatureChangeOutfit(cid, {lookType=80})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 59 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,60)
doCreatureChangeOutfit(cid, {lookType=56})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 60 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,61)
doCreatureChangeOutfit(cid, {lookType=56})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 61 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,62)
doCreatureChangeOutfit(cid, {lookType=39})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 62 then
if getPlayerLevel(cid) >= 250 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,63)
doCreatureChangeOutfit(cid, {lookType=39})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 68 then
if getPlayerLevel(cid) >= 30 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,69)
doCreatureChangeOutfit(cid, {lookType=36})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 69 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,70)
doCreatureChangeOutfit(cid, {lookType=38})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 70 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,71)
doCreatureChangeOutfit(cid, {lookType=84})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 71 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,72)
doCreatureChangeOutfit(cid, {lookType=99})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 72 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,73)
doCreatureChangeOutfit(cid, {lookType=119})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 73 then
if getPlayerLevel(cid) >= 250 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,74)
doCreatureChangeOutfit(cid, {lookType=119})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 75 then
if getPlayerLevel(cid) >= 30 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,76)
doCreatureChangeOutfit(cid, {lookType=113})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 76 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,77)
doCreatureChangeOutfit(cid, {lookType=123})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 77 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,78)
doCreatureChangeOutfit(cid, {lookType=218})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 78 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,79)
doCreatureChangeOutfit(cid, {lookType=114})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 79 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,80)
doCreatureChangeOutfit(cid, {lookType=116})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 80 then
if getPlayerLevel(cid) >= 250 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,81)
doCreatureChangeOutfit(cid, {lookType=116})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 82 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,83)
doCreatureChangeOutfit(cid, {lookType=271})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 83 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,84)
doCreatureChangeOutfit(cid, {lookType=272})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 84 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,85)
doCreatureChangeOutfit(cid, {lookType=281})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 85 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,86)
doCreatureChangeOutfit(cid, {lookType=4})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 87 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,88)
doCreatureChangeOutfit(cid, {lookType=300})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 88 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,89)
doCreatureChangeOutfit(cid, {lookType=300})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 89 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,90)
doCreatureChangeOutfit(cid, {lookType=302})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 90 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,91)
doCreatureChangeOutfit(cid, {lookType=9})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 92 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,93)
doCreatureChangeOutfit(cid, {lookType=233})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 93 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,94)
doCreatureChangeOutfit(cid, {lookType=237})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 94 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,95)
doCreatureChangeOutfit(cid, {lookType=248})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 95 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,96)
doCreatureChangeOutfit(cid, {lookType=54})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 97 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,98)
doCreatureChangeOutfit(cid, {lookType=296})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 98 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,99)
doCreatureChangeOutfit(cid, {lookType=296})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 99 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,100)
doCreatureChangeOutfit(cid, {lookType=297})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 100 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,101)
doCreatureChangeOutfit(cid, {lookType=58})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 102 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,103)
doCreatureChangeOutfit(cid, {lookType=211})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 103 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,104)
doCreatureChangeOutfit(cid, {lookType=100})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 104 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,105)
doCreatureChangeOutfit(cid, {lookType=61})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 105 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,106)
doCreatureChangeOutfit(cid, {lookType=73})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 107 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,108)
doCreatureChangeOutfit(cid, {lookType=259})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 108 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,109)
doCreatureChangeOutfit(cid, {lookType=47})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 109 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,110)
doCreatureChangeOutfit(cid, {lookType=47})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 110 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,111)
doCreatureChangeOutfit(cid, {lookType=265})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 112 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,113)
doCreatureChangeOutfit(cid, {lookType=106})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 113 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,114)
doCreatureChangeOutfit(cid, {lookType=105})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 114 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,115)
doCreatureChangeOutfit(cid, {lookType=31})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 115 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,116)
doCreatureChangeOutfit(cid, {lookType=57})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 117 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,118)
doCreatureChangeOutfit(cid, {lookType=262})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 118 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,119)
doCreatureChangeOutfit(cid, {lookType=304})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 119 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,120)
doCreatureChangeOutfit(cid, {lookType=104})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 120 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,121)
doCreatureChangeOutfit(cid, {lookType=284})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 122 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,123)
doCreatureChangeOutfit(cid, {lookType=56})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 123 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,124)
doCreatureChangeOutfit(cid, {lookType=51})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 124 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,125)
doCreatureChangeOutfit(cid, {lookType=51})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 125 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,126)
doCreatureChangeOutfit(cid, {lookType=39})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 127 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,128)
doCreatureChangeOutfit(cid, {lookType=232})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 128 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,129)
doCreatureChangeOutfit(cid, {lookType=231})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 129 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,130)
doCreatureChangeOutfit(cid, {lookType=231})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 130 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,131)
doCreatureChangeOutfit(cid, {lookType=119})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 132 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,133)
doCreatureChangeOutfit(cid, {lookType=240})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 133 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,134)
doCreatureChangeOutfit(cid, {lookType=244})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 134 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,135)
doCreatureChangeOutfit(cid, {lookType=249})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 135 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,136)
doCreatureChangeOutfit(cid, {lookType=261})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 137 then
if getPlayerLevel(cid) >= 30 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,138)
doCreatureChangeOutfit(cid, {lookType=309})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 138 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,139)
doCreatureChangeOutfit(cid, {lookType=245})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 139 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,140)
doCreatureChangeOutfit(cid, {lookType=285})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 140 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,141)
doCreatureChangeOutfit(cid, {lookType=285})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 141 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,142)
doCreatureChangeOutfit(cid, {lookType=287})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 142 then
if getPlayerLevel(cid) >= 250 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,143)
doCreatureChangeOutfit(cid, {lookType=287})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 144 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,145)
doCreatureChangeOutfit(cid, {lookType=313})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 145 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,146)
doCreatureChangeOutfit(cid, {lookType=311})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 146 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,147)
doCreatureChangeOutfit(cid, {lookType=312})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 147 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,148)
doCreatureChangeOutfit(cid, {lookType=317})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 149 then
if getPlayerLevel(cid) >= 30 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,150)
doCreatureChangeOutfit(cid, {lookType=301})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 150 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,151)
doCreatureChangeOutfit(cid, {lookType=245})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 151 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,152)
doCreatureChangeOutfit(cid, {lookType=285})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 152 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,153)
doCreatureChangeOutfit(cid, {lookType=285})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 153 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,154)
doCreatureChangeOutfit(cid, {lookType=287})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 154 then
if getPlayerLevel(cid) >= 250 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,155)
doCreatureChangeOutfit(cid, {lookType=287})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 156 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,157)
doCreatureChangeOutfit(cid, {lookType=308})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 157 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,158)
doCreatureChangeOutfit(cid, {lookType=311})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 158 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,159)
doCreatureChangeOutfit(cid, {lookType=312})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 159 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,160)
doCreatureChangeOutfit(cid, {lookType=317})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 161 then
if getPlayerLevel(cid) >= 30 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,162)
doCreatureChangeOutfit(cid, {lookType=41})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 163 then
if getPlayerLevel(cid) >= 30 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,164)
doCreatureChangeOutfit(cid, {lookType=41})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 165 then
if getPlayerLevel(cid) >= 30 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,166)
doCreatureChangeOutfit(cid, {lookType=296})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 166 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,167)
doCreatureChangeOutfit(cid, {lookType=197})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 167 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,168)
doCreatureChangeOutfit(cid, {lookType=313})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 168 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,169)
doCreatureChangeOutfit(cid, {lookType=43})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 169 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,170)
doCreatureChangeOutfit(cid, {lookType=43})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 170 then
if getPlayerLevel(cid) >= 250 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,171)
doCreatureChangeOutfit(cid, {lookType=300})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 172 then
if getPlayerLevel(cid) >= 50 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,173)
doCreatureChangeOutfit(cid, {lookType=220})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 173 then
if getPlayerLevel(cid) >= 100 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,174)
doCreatureChangeOutfit(cid, {lookType=68})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 174 then
if getPlayerLevel(cid) >= 150 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,175)
doCreatureChangeOutfit(cid, {lookType=68})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
elseif getPlayerVocation(cid) == 175 then
if getPlayerLevel(cid) >= 200 then
if exhaustion.get(cid,61260) == false then
doPlayerSetVocation(cid,176)
doCreatureChangeOutfit(cid, {lookType=108})
doSendMagicEffect(getCreaturePosition(cid), 12)
exhaustion.set(cid,61260,0)
else
end
return true
end
end
end


@UP
Kurwa ty wirek jestes.. tam jest source i data wiec gdzie moze byc wirek mozgu? .dll'ek tam nie ma, otb nie moze byc, lua/xml no chyba nie... ty jestes wirek + .exe nie ma zeby pajace twojego pokroju bez wiedzy jak skompilowac ot nie odpala?y tego :*