local voc = getPlayerVocation(cid)
function onStepIn(cid, item, frompos, item2, topos)
if voc == 1 then
doPlayerSetVocation(cid,2)
doSendMagicEffect(topos, 28)
elseif voc == 2 then
doPlayerSetVocation(cid, 3)
doSendMagicEffect(topos, 28)
elseif voc == 3 then
doPlayerSetVocation(cid, 4)
doSendMagicEffect(topos, 28)
elseif voc == 4 then
doPlayerSetVocation(cid, 1)
doSendMagicEffect(topos, 28)
elseif voc == 5 then
doPlayerSetVocation(cid, 6)
doSendMagicEffect(topos, 28)
elseif voc == 6 then
doPlayerSetVocation(cid, 7)
doSendMagicEffect(topos, 28)
elseif voc == 7 then
doPlayerSetVocation(cid, 8)
doSendMagicEffect(topos, 28)
elseif voc == 8 then
doPlayerSetVocation(cid, 1)
doSendMagicEffect(topos, 28)
end
end
Nenhum comentário:
Postar um comentário