ola galera do :XTibia_smile: eu tenho um server de wodbo e presciso de uma magia chamada "revert" bom no meu server ja tem uma mais eu não sei onde ir para editala eu qeria saber, mais tambem tem outra que é editada pelo talkaction.
vou botar ela abaixo e vc's vejam se tem algum erro por favor.
as vezes quando o player usa ela se ele tiver com ssj5 ou outras transforms ele da reverter mais continua com o msm "looktype"
Magia Reverter:
function onSay(cid, words, param)
local voce = 383
local lvl = 10
local voc = 348
local outfit = {lookType=349,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50} -- Zmiana outfitu w id?
local outfitTime = 999999999999999
local napis = "Normal Form Z5"
local effekt = 24
----------------------kod-----------------------------
if getPlayerVocation(cid) == voce and getPlayerLevel(cid) >= lvl then
doPlayerSetVocation(cid,voc)
doSetCreatureOutfit(cid, outfit, outfitTime)
doPlayerSay(cid,napis,16)
local pos = getPlayerPosition(cid)
doSendMagicEffect(pos,effekt)
else
doPlayerSendCancel(cid,"Musisz sie dostosowac do wymagan!")
end
return 1
end
se não for pedir muito qeria a ajuda de vocês eu agredeceria e daria + REPP
vlw....