FA

Bug transformação

Por fagundes14, 29 de mai. de 2012 em Scripts

script
9
1.8k
fagundes14F
29 de maio de 2012 às 15:13

É Um Script De Transformaçao Do Meu WoDBO 8.0

Ele Funciona Normal Mas Aparece Esses Erros No Console Quando E Usado

 

buguu.png

 

Do Rep ++

Editado Maio 29 por Fagundes14

VildenV
29 de maio de 2012 às 15:14

Amigo seja direto/objetivo no titulo do tópico!

Esse tipo de titulo é proibido.

 

Renomeado.

29 de maio de 2012 às 15:25

Sem o script não dá para fazer muita coisa neah...

fagundes14F
29 de maio de 2012 às 15:35

Ta Ae O Script

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)

setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

 

local condition = createConditionObject(CONDITION_OUTFIT)

setConditionParam(condition, CONDITION_PARAM_TICKS, 86400000)

addOutfitCondition(condition, 0, 71, 0, 0, 0, 0)

setCombatCondition(combat, condition)

 

-- // Goku

 

TRANGokuSSJ = {lookType = 438}

TRANGokuHSSJ = {lookType = 438}

TRANGokuSSJ2 = {lookType = 439}

TRANGokuSSJ3 = {lookType = 440}

 

TRANBGoku = {lookType = 354}

TRANBGokuSSJ = {lookType = 259}

 

TRANRBGokuSSJ = {lookType = 138}

TRANRBGokuSSJ2 = {lookType = 139}

TRANRBGokuSSJ3 = {lookType = 140}

TRANRBGokuSSJ4 = {lookType = 66}

 

OXT = 500

EXT = 1000

 

-- // GOKU / ----

 

function EFGokuHSSJ(cid)

if getPlayerVocation(cid) == 403 then

if getPlayerMana(cid) >= 0 then

doSendMagicEffect(getPlayerPosition(cid), 234)

addEvent(EFGokuHSSJ,EXT,cid)

end

end

end

 

function EFGokuSSJ2(cid)

if getPlayerVocation(cid) == 404 then

if getPlayerMana(cid) >= 0 then

doSendMagicEffect(getPlayerPosition(cid), 13)

addEvent(EFGokuSSJ2,EXT,cid)

end

end

end

 

function EFGokuSSJ3(cid)

if getPlayerVocation(cid) == 405 then

if getPlayerMana(cid) >= 0 then

doSendMagicEffect(getPlayerPosition(cid), 13)

addEvent(EFGokuSSJ3,EXT,cid)

end

end

end

 

function EFBGokuSSJ(cid)

if getPlayerVocation(cid) == 407 then

if getPlayerMana(cid) >= 0 then

doSendMagicEffect(getPlayerPosition(cid), 234)

addEvent(EFBGokuSSJ,EXT,cid)

end

end

end

 

function EFRBGokuSSJ2(cid)

if getPlayerVocation(cid) == 410 then

if getPlayerMana(cid) >= 0 then

doSendMagicEffect(getPlayerPosition(cid), 234)

addEvent(EFRBGokuSSJ2,EXT,cid)

end

end

end

 

function EFRBGokuSSJ3(cid)

if getPlayerVocation(cid) == 411 then

if getPlayerMana(cid) >= 0 then

doSendMagicEffect(getPlayerPosition(cid), 234)

addEvent(EFRBGokuSSJ3,EXT,cid)

end

end

end

 

-- // END

 

function onCastSpell(cid, var)

 

-- GOKU/ GOKU SSJ --

 

if getPlayerVocation(cid) == 400 then

if getPlayerLevel(cid) >= 50 then

doPlayerSetVocation(cid,402)

doSetCreatureOutfit(cid, TRANGokuSSJ, -1)

 

doSendMagicEffect(getPlayerPosition(cid), 56)

else

doPlayerSendCancel(cid, "You Need 50 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

-- GOKU SSJ/ GOKU HYPER SSJ --

 

elseif getPlayerVocation(cid) == 402 then

if getPlayerLevel(cid) >= 75 then

doPlayerSetVocation(cid,403)

doSetCreatureOutfit(cid, TRANGokuHSSJ, -1)

addEvent(EFGokuHSSJ,EXT,cid)

doSendMagicEffect(getPlayerPosition(cid), 57)

else

doPlayerSendCancel(cid, "You Need 75 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

-- GOKU HYPER SSJ/ GOKU SSJ2 --

 

elseif getPlayerVocation(cid) == 403 then

if getPlayerLevel(cid) >= 100 then

doPlayerSetVocation(cid,404)

doSetCreatureOutfit(cid, TRANGokuSSJ2, -1)

addEvent(EFGokuSSJ2,EXT,cid)

doSendMagicEffect(getPlayerPosition(cid), 58)

else

doPlayerSendCancel(cid, "You Need 100 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

-- GOKU SSJ2/ GOKU SSJ3 --

 

elseif getPlayerVocation(cid) == 404 then

if getPlayerLevel(cid) >= 150 then

doPlayerSetVocation(cid,405)

doSetCreatureOutfit(cid, TRANGokuSSJ3, -1)

addEvent(EFGokuSSJ3,EXT,cid)

doSendMagicEffect(getPlayerPosition(cid), 59)

else

doPlayerSendCancel(cid, "You Need 150 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

-- GOKU SSJ3/ BIG GOKU --

 

elseif getPlayerVocation(cid) == 405 then

if getPlayerLevel(cid) >= 180 then

doPlayerSetVocation(cid,406)

doSetCreatureOutfit(cid, TRANBGoku, -1)

doSendMagicEffect(getPlayerPosition(cid), 8)

else

doPlayerSendCancel(cid, "You Need 180 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

-- BIG GOKU/ BIG GOKU SSJ --

 

elseif getPlayerVocation(cid) == 406 then

if getPlayerLevel(cid) >= 200 then

doPlayerSetVocation(cid,407)

doSetCreatureOutfit(cid, TRANBGokuSSJ, -1)

addEvent(EFBGokuSSJ,EXT,cid)

doSendMagicEffect(getPlayerPosition(cid), 150)

else

doPlayerSendCancel(cid, "You Need 200 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

-- RB --

-- GOKU/ GOKU SSJ --

 

elseif getPlayerVocation(cid) == 408 then

 

if getPlayerLevel(cid) >= 200 then

doPlayerSetVocation(cid,413)

doSetCreatureOutfit(cid, TRANRBGokuSSJ4, -1)

doSendMagicEffect(getPlayerPosition(cid), 60)

else

if getPlayerLevel(cid) >= 50 then

doPlayerSetVocation(cid,409)

doSetCreatureOutfit(cid, TRANRBGokuSSJ, -1)

doSendMagicEffect(getPlayerPosition(cid), 249)

else

doPlayerSendCancel(cid, "You Need 50 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

end

 

-- GOKU/ GOKU SSJ --

 

elseif getPlayerVocation(cid) == 409 then

if getPlayerLevel(cid) >= 100 then

doPlayerSetVocation(cid,410)

doSetCreatureOutfit(cid, TRANRBGokuSSJ2, -1)

addEvent(EFRBGokuSSJ2,EXT,cid)

doSendMagicEffect(getPlayerPosition(cid), 250)

else

doPlayerSendCancel(cid, "You Need 100 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

-- GOKU/ GOKU SSJ --

 

elseif getPlayerVocation(cid) == 410 then

if getPlayerLevel(cid) >= 150 then

doPlayerSetVocation(cid,411)

doSetCreatureOutfit(cid, TRANRBGokuSSJ3, -1)

addEvent(EFRBGokuSSJ3,EXT,cid)

doSendMagicEffect(getPlayerPosition(cid), 251)

else

doPlayerSendCancel(cid, "You Need 150 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

-- GGOKU/ GOKU SSJ4 --

 

elseif getPlayerVocation(cid) == 412 then

if getPlayerLevel(cid) >= 200 then

doPlayerSetVocation(cid,413)

doSetCreatureOutfit(cid, TRANRBGokuSSJ4, -1)

doSendMagicEffect(getPlayerPosition(cid), 60)

else

doPlayerSendCancel(cid, "You Need 200 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

-- // END

 

else

doPlayerSendCancel(cid, "You Cannot Be Stronger.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

end

Ele Funciona Normal, Porem Aparece Isso No Console

Editado Maio 29 por Fagundes14

Makelin1M
29 de maio de 2012 às 19:21
ocal combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)

setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

 

local condition = createConditionObject(CONDITION_OUTFIT)

setConditionParam(condition, CONDITION_PARAM_TICKS, 86400000)

addOutfitCondition(condition, 0, 71, 0, 0, 0, 0)

setCombatCondition(combat, condition)

 

TRANGokuSSJ = {lookType = 438}

TRANGokuHSSJ = {lookType = 438}

TRANGokuSSJ2 = {lookType = 439}

TRANGokuSSJ3 = {lookType = 440}

 

TRANBGoku = {lookType = 354}

TRANBGokuSSJ = {lookType = 259}

 

TRANRBGokuSSJ = {lookType = 138}

TRANRBGokuSSJ2 = {lookType = 139}

TRANRBGokuSSJ3 = {lookType = 140}

TRANRBGokuSSJ4 = {lookType = 66}

 

OXT = 500

EXT = 1000

 

 

 

function EFGokuHSSJ(cid)

if getPlayerVocation(cid) == 403 then

if getPlayerMana(cid) >= 0 then

doSendMagicEffect(getPlayerPosition(cid), 234)

addEvent(EFGokuHSSJ,EXT,cid)

end

end

end

 

function EFGokuSSJ2(cid)

if getPlayerVocation(cid) == 404 then

if getPlayerMana(cid) >= 0 then

doSendMagicEffect(getPlayerPosition(cid), 13)

addEvent(EFGokuSSJ2,EXT,cid)

end

end

end

 

function EFGokuSSJ3(cid)

if getPlayerVocation(cid) == 405 then

if getPlayerMana(cid) >= 0 then

doSendMagicEffect(getPlayerPosition(cid), 13)

addEvent(EFGokuSSJ3,EXT,cid)

end

end

end

 

function EFBGokuSSJ(cid)

if getPlayerVocation(cid) == 407 then

if getPlayerMana(cid) >= 0 then

doSendMagicEffect(getPlayerPosition(cid), 234)

addEvent(EFBGokuSSJ,EXT,cid)

end

end

end

 

function EFRBGokuSSJ2(cid)

if getPlayerVocation(cid) == 410 then

if getPlayerMana(cid) >= 0 then

doSendMagicEffect(getPlayerPosition(cid), 234)

addEvent(EFRBGokuSSJ2,EXT,cid)

end

end

end

 

function EFRBGokuSSJ3(cid)

if getPlayerVocation(cid) == 411 then

if getPlayerMana(cid) >= 0 then

doSendMagicEffect(getPlayerPosition(cid), 234)

addEvent(EFRBGokuSSJ3,EXT,cid)

end

end

end

 

function onCastSpell(cid, var)

 

if getPlayerVocation(cid) == 400 then

if getPlayerLevel(cid) >= 50 then

doPlayerSetVocation(cid,402)

doSetCreatureOutfit(cid, TRANGokuSSJ, -1)

 

doSendMagicEffect(getPlayerPosition(cid), 56)

else

doPlayerSendCancel(cid, "You Need 50 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

 

elseif getPlayerVocation(cid) == 402 then

if getPlayerLevel(cid) >= 75 then

doPlayerSetVocation(cid,403)

doSetCreatureOutfit(cid, TRANGokuHSSJ, -1)

addEvent(EFGokuHSSJ,EXT,cid)

doSendMagicEffect(getPlayerPosition(cid), 57)

else

doPlayerSendCancel(cid, "You Need 75 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

 

elseif getPlayerVocation(cid) == 403 then

if getPlayerLevel(cid) >= 100 then

doPlayerSetVocation(cid,404)

doSetCreatureOutfit(cid, TRANGokuSSJ2, -1)

addEvent(EFGokuSSJ2,EXT,cid)

doSendMagicEffect(getPlayerPosition(cid), 58)

else

doPlayerSendCancel(cid, "You Need 100 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

 

 

elseif getPlayerVocation(cid) == 404 then

if getPlayerLevel(cid) >= 150 then

doPlayerSetVocation(cid,405)

doSetCreatureOutfit(cid, TRANGokuSSJ3, -1)

addEvent(EFGokuSSJ3,EXT,cid)

doSendMagicEffect(getPlayerPosition(cid), 59)

else

doPlayerSendCancel(cid, "You Need 150 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

 

elseif getPlayerVocation(cid) == 405 then

if getPlayerLevel(cid) >= 180 then

doPlayerSetVocation(cid,406)

doSetCreatureOutfit(cid, TRANBGoku, -1)

doSendMagicEffect(getPlayerPosition(cid), 8)

else

doPlayerSendCancel(cid, "You Need 180 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

 

elseif getPlayerVocation(cid) == 406 then

if getPlayerLevel(cid) >= 200 then

doPlayerSetVocation(cid,407)

doSetCreatureOutfit(cid, TRANBGokuSSJ, -1)

addEvent(EFBGokuSSJ,EXT,cid)

doSendMagicEffect(getPlayerPosition(cid), 150)

else

doPlayerSendCancel(cid, "You Need 200 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

 

elseif getPlayerVocation(cid) == 408 then

 

if getPlayerLevel(cid) >= 200 then

doPlayerSetVocation(cid,413)

doSetCreatureOutfit(cid, TRANRBGokuSSJ4, -1)

doSendMagicEffect(getPlayerPosition(cid), 60)

else

if getPlayerLevel(cid) >= 50 then

doPlayerSetVocation(cid,409)

doSetCreatureOutfit(cid, TRANRBGokuSSJ, -1)

doSendMagicEffect(getPlayerPosition(cid), 249)

else

doPlayerSendCancel(cid, "You Need 50 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

end

 

 

elseif getPlayerVocation(cid) == 409 then

if getPlayerLevel(cid) >= 100 then

doPlayerSetVocation(cid,410)

doSetCreatureOutfit(cid, TRANRBGokuSSJ2, -1)

addEvent(EFRBGokuSSJ2,EXT,cid)

doSendMagicEffect(getPlayerPosition(cid), 250)

else

doPlayerSendCancel(cid, "You Need 100 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

 

elseif getPlayerVocation(cid) == 410 then

if getPlayerLevel(cid) >= 150 then

doPlayerSetVocation(cid,411)

doSetCreatureOutfit(cid, TRANRBGokuSSJ3, -1)

addEvent(EFRBGokuSSJ3,EXT,cid)

doSendMagicEffect(getPlayerPosition(cid), 251)

else

doPlayerSendCancel(cid, "You Need 150 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

 

elseif getPlayerVocation(cid) == 412 then

if getPlayerLevel(cid) >= 200 then

doPlayerSetVocation(cid,413)

doSetCreatureOutfit(cid, TRANRBGokuSSJ4, -1)

doSendMagicEffect(getPlayerPosition(cid), 60)

else

doPlayerSendCancel(cid, "You Need 200 Level To First Transform.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

 

 

else

doPlayerSendCancel(cid, "You Cannot Be Stronger.")

doSendMagicEffect(getPlayerPosition(cid), 2)

end

end

 

espero ter ajudado

ate

jhon992J
29 de maio de 2012 às 20:37

Assim remove-ra seu erro. Ele estava ocorrendo pois nas funções de adicionar a transformação ele não encontrava o creatureid valido, isso ocorre quando você se transforma e desloga ou morre. Agora esta arrumado.

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_OUTFIT)
setConditionParam(condition, CONDITION_PARAM_TICKS, 86400000)
addOutfitCondition(condition, 0, 71, 0, 0, 0, 0)
setCombatCondition(combat, condition)

-- // Goku

TRANGokuSSJ = {lookType = 438}
TRANGokuHSSJ = {lookType = 438}
TRANGokuSSJ2 = {lookType = 439}
TRANGokuSSJ3 = {lookType = 440}

TRANBGoku = {lookType = 354}
TRANBGokuSSJ = {lookType = 259}

TRANRBGokuSSJ = {lookType = 138}
TRANRBGokuSSJ2 = {lookType = 139}
TRANRBGokuSSJ3 = {lookType = 140}
TRANRBGokuSSJ4 = {lookType = 66}

OXT = 500
EXT = 1000

-- // GOKU / ----

function EFGokuHSSJ(cid)
if isPlayer(cid) then
if getPlayerVocation(cid) == 403 then 
if getPlayerMana(cid) >= 0 then 
doSendMagicEffect(getPlayerPosition(cid), 234) 
addEvent(EFGokuHSSJ,EXT,cid)
end
end
end
end

function EFGokuSSJ2(cid)
if isPlayer(cid) then
if getPlayerVocation(cid) == 404 then 
if getPlayerMana(cid) >= 0 then 
doSendMagicEffect(getPlayerPosition(cid), 13) 
addEvent(EFGokuSSJ2,EXT,cid)
end
end
end
end

function EFGokuSSJ3(cid)
if isPlayer(cid) then
if getPlayerVocation(cid) == 405 then 
if getPlayerMana(cid) >= 0 then 
doSendMagicEffect(getPlayerPosition(cid), 13) 
addEvent(EFGokuSSJ3,EXT,cid)
end
end
end
end

function EFBGokuSSJ(cid)
if isPlayer(cid) then
if getPlayerVocation(cid) == 407 then 
if getPlayerMana(cid) >= 0 then 
doSendMagicEffect(getPlayerPosition(cid), 234) 
addEvent(EFBGokuSSJ,EXT,cid)
end
end
end
end

function EFRBGokuSSJ2(cid)
if isPlayer(cid) then
if getPlayerVocation(cid) == 410 then 
if getPlayerMana(cid) >= 0 then 
doSendMagicEffect(getPlayerPosition(cid), 234) 
addEvent(EFRBGokuSSJ2,EXT,cid)
end
end
end
end

function EFRBGokuSSJ3(cid)
if isPlayer(cid) then
if getPlayerVocation(cid) == 411 then 
if getPlayerMana(cid) >= 0 then 
doSendMagicEffect(getPlayerPosition(cid), 234) 
addEvent(EFRBGokuSSJ3,EXT,cid)
end
end
end
end

-- // END

function onCastSpell(cid, var)

-- GOKU/ GOKU SSJ --

if getPlayerVocation(cid) == 400 then 
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,402)
doSetCreatureOutfit(cid, TRANGokuSSJ, -1)

doSendMagicEffect(getPlayerPosition(cid), 56)
else
doPlayerSendCancel(cid, "You Need 50 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end

-- GOKU SSJ/ GOKU HYPER SSJ --

elseif getPlayerVocation(cid) == 402 then 
if getPlayerLevel(cid) >= 75 then
doPlayerSetVocation(cid,403)
doSetCreatureOutfit(cid, TRANGokuHSSJ, -1)
addEvent(EFGokuHSSJ,EXT,cid)
doSendMagicEffect(getPlayerPosition(cid), 57)
else
doPlayerSendCancel(cid, "You Need 75 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end

-- GOKU HYPER SSJ/ GOKU SSJ2 --

elseif getPlayerVocation(cid) == 403 then 
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,404)
doSetCreatureOutfit(cid, TRANGokuSSJ2, -1)
addEvent(EFGokuSSJ2,EXT,cid)
doSendMagicEffect(getPlayerPosition(cid), 58)
else
doPlayerSendCancel(cid, "You Need 100 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end

-- GOKU SSJ2/ GOKU SSJ3 --

elseif getPlayerVocation(cid) == 404 then 
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,405)
doSetCreatureOutfit(cid, TRANGokuSSJ3, -1)
addEvent(EFGokuSSJ3,EXT,cid)
doSendMagicEffect(getPlayerPosition(cid), 59)
else
doPlayerSendCancel(cid, "You Need 150 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end

-- GOKU SSJ3/ BIG GOKU --

elseif getPlayerVocation(cid) == 405 then 
if getPlayerLevel(cid) >= 180 then
doPlayerSetVocation(cid,406)
doSetCreatureOutfit(cid, TRANBGoku, -1)
doSendMagicEffect(getPlayerPosition(cid), 8)
else
doPlayerSendCancel(cid, "You Need 180 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end

-- BIG GOKU/ BIG GOKU SSJ --

elseif getPlayerVocation(cid) == 406 then 
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,407)
doSetCreatureOutfit(cid, TRANBGokuSSJ, -1)
addEvent(EFBGokuSSJ,EXT,cid)
doSendMagicEffect(getPlayerPosition(cid), 150)
else
doPlayerSendCancel(cid, "You Need 200 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end

-- RB --
-- GOKU/ GOKU SSJ --

elseif getPlayerVocation(cid) == 408 then 

if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,413)
doSetCreatureOutfit(cid, TRANRBGokuSSJ4, -1)
doSendMagicEffect(getPlayerPosition(cid), 60)
else
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,409)
doSetCreatureOutfit(cid, TRANRBGokuSSJ, -1)
doSendMagicEffect(getPlayerPosition(cid), 249)
else
doPlayerSendCancel(cid, "You Need 50 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
end

-- GOKU/ GOKU SSJ --

elseif getPlayerVocation(cid) == 409 then 
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,410)
doSetCreatureOutfit(cid, TRANRBGokuSSJ2, -1)
addEvent(EFRBGokuSSJ2,EXT,cid)
doSendMagicEffect(getPlayerPosition(cid), 250)
else
doPlayerSendCancel(cid, "You Need 100 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end

-- GOKU/ GOKU SSJ --

elseif getPlayerVocation(cid) == 410 then 
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,411)
doSetCreatureOutfit(cid, TRANRBGokuSSJ3, -1)
addEvent(EFRBGokuSSJ3,EXT,cid)
doSendMagicEffect(getPlayerPosition(cid), 251)
else
doPlayerSendCancel(cid, "You Need 150 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end

-- GGOKU/ GOKU SSJ4 --

elseif getPlayerVocation(cid) == 412 then 
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,413)
doSetCreatureOutfit(cid, TRANRBGokuSSJ4, -1)
doSendMagicEffect(getPlayerPosition(cid), 60)
else
doPlayerSendCancel(cid, "You Need 200 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end

-- // END

else
doPlayerSendCancel(cid, "You Cannot Be Stronger.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
end

fagundes14F
29 de maio de 2012 às 22:31

Nossa Gente Brigadao =D

REP ++

Editado Maio 29 por Fagundes14

Makelin1M
29 de maio de 2012 às 22:42

Duvida Sanada Tópico Reportado

VildenV
29 de maio de 2012 às 22:47

Dúvida sanada, movido.