ele muda o outfit so
ele continua transformado so que com o outfit da forma 1
vou ensinar como fazer ele voltar pra vocation inicial quando deslogar
eme creaturesscripts/scripts deve ter la logout.lu abre ele
n sei qual seu server então deve ter algo parecido com ssio la se n tiver me diz qual o seu server
function onLogout(cid)
--- Janemba ---
if (getPlayerVocation(cid) == 304)
or (getPlayerVocation(cid) == 305)
or (getPlayerVocation(cid) == 306)
or (getPlayerVocation(cid) == 307) then
doPlayerSetVocation(cid,303)
--- Reborn ---
elseif (getPlayerVocation(cid) == 309)
or (getPlayerVocation(cid) == 310)
or (getPlayerVocation(cid) == 311)
or (getPlayerVocation(cid) == 312) then
doPlayerSetVocation(cid,308)
--- End ---
--- Shenron ---
elseif (getPlayerVocation(cid) == 330)
or (getPlayerVocation(cid) == 331)
or (getPlayerVocation(cid) == 332)
or (getPlayerVocation(cid) == 333)
or (getPlayerVocation(cid) == 334)
or (getPlayerVocation(cid) == 335) then
doPlayerSetVocation(cid,329)
--- Reborn ---
elseif (getPlayerVocation(cid) == 340)
or (getPlayerVocation(cid) == 339)
or (getPlayerVocation(cid) == 338)
or (getPlayerVocation(cid) == 337) then
doPlayerSetVocation(cid,336)
--- Gotenks ---
elseif (getPlayerVocation(cid) == 315)
or (getPlayerVocation(cid) == 314)
or (getPlayerVocation(cid) == 313) then
doPlayerSetVocation(cid,77)
--- Chibi ---
elseif (getPlayerVocation(cid) == 318)
or (getPlayerVocation(cid) == 317)
or (getPlayerVocation(cid) == 316) then
doPlayerSetVocation(cid,79)
--- Reborn ---
elseif (getPlayerVocation(cid) == 321)
or (getPlayerVocation(cid) == 320)
or (getPlayerVocation(cid) == 319) then
doPlayerSetVocation(cid,228)
--- Chibi Reb ---
elseif (getPlayerVocation(cid) == 324)
or (getPlayerVocation(cid) == 323)
or (getPlayerVocation(cid) == 322) then
doPlayerSetVocation(cid,233)
--- Gogeta SSJ ---
elseif (getPlayerVocation(cid) == 325) then
doPlayerSetVocation(cid,18)
elseif (getPlayerVocation(cid) == 326) then
doPlayerSetVocation(cid,25)
--- Gogeta SSJ4 ---
elseif (getPlayerVocation(cid) == 327) then
doPlayerSetVocation(cid,206)
elseif (getPlayerVocation(cid) == 328) then
doPlayerSetVocation(cid,219)
---Goku---
elseif (getPlayerVocation(cid) == 400)
or (getPlayerVocation(cid) == 500) then
doPlayerSetVocation(cid,206)
---vegeta---
elseif (getPlayerVocation(cid) == 401)
or (getPlayerVocation(cid) == 501) then
doPlayerSetVocation(cid,219)
---gohan---
elseif (getPlayerVocation(cid) == 402)
or (getPlayerVocation(cid) == 502) then
doPlayerSetVocation(cid,213)
---trunks---
elseif (getPlayerVocation(cid) == 403)
or (getPlayerVocation(cid) == 503) then
doPlayerSetVocation(cid,226)
---freeza---
elseif (getPlayerVocation(cid) == 404)
or (getPlayerVocation(cid) == 504) then
doPlayerSetVocation(cid,257)
---cell---
elseif (getPlayerVocation(cid) == 405)
or (getPlayerVocation(cid) == 505) then
doPlayerSetVocation(cid,279)
---buu---
elseif (getPlayerVocation(cid) == 406)
or (getPlayerVocation(cid) == 506) then
doPlayerSetVocation(cid,252)
---tsuful---
elseif (getPlayerVocation(cid) == 407)
or (getPlayerVocation(cid) == 507) then
doPlayerSetVocation(cid,246)
---dende---
elseif (getPlayerVocation(cid) == 408)
or (getPlayerVocation(cid) == 508) then
doPlayerSetVocation(cid,302)
---namekjin---
elseif (getPlayerVocation(cid) == 409)
or (getPlayerVocation(cid) == 509) then
doPlayerSetVocation(cid,241)
---brolly---
elseif (getPlayerVocation(cid) == 410)
or (getPlayerVocation(cid) == 510) then
doPlayerSetVocation(cid,273)
---cooler---
elseif (getPlayerVocation(cid) == 411)
or (getPlayerVocation(cid) == 511) then
doPlayerSetVocation(cid,285)
---c17---
elseif (getPlayerVocation(cid) == 412)
or (getPlayerVocation(cid) == 512) then
doPlayerSetVocation(cid,262)
---c18---
elseif (getPlayerVocation(cid) == 413)
or (getPlayerVocation(cid) == 513) then
doPlayerSetVocation(cid,267)
---bardock---
elseif (getPlayerVocation(cid) == 414)
or (getPlayerVocation(cid) == 514) then
doPlayerSetVocation(cid,291)
---uub---
elseif (getPlayerVocation(cid) == 415)
or (getPlayerVocation(cid) == 515) then
doPlayerSetVocation(cid,297)
return 1
end
end
ai e so da um enter dps de
elseif (getPlayerVocation(cid) == 415)or (getPlayerVocation(cid) == 515) then
doPlayerSetVocation(cid,297)
e i colocando
se for a primeira linha isso
elseif (getPlayerVocation(cid) == 415)
415 e uma das vocations transformadas
e se n for a primeira linha isso
or (getPlayerVocation(cid) == 515)
ai na ultima vocation transformada
or (getPlayerVocation(cid) == 307) then
em que deixar com o then
e na outra linha
doPlayerSetVocation(cid,303)
303 e a vocation sem transforms








info
Grupo: Campones
Registrado: 03/08/12
Posts: 65
Reputação: +5
Char no Tibia: Varios
Tenho vc no msn,Bruno aqui procura ai no seu msn e um cara tipo um monge, olha quando eu deslogo ele vai para forma lvl 1 e nao reverte e nem transforma fica empacado.
Bruno aqui procura ai no seu msn e um cara tipo um monge