Ir para conteúdo

[Ajuda] Script Transform


Dmy Recaida

Posts Recomendados

Ajuda ai galera ta tudo certo agora so falta bota pra se transformar em tal lvl eu botei so q nao ta funfando qualquer lvl se transformar olha

 

 

---- This Script Has Made By:SkyFail ----

function onSay(cid, words)

local voc = getPlayerVocation(cid) --Obter Vocação do Player

local pos = getCreaturePosition(cid) --Obter Posição do Player

local lvl = getPlayerLevel(cid)

local minutos = 465656565 -- Quanto tempo depois em minutos a transformação vai sumir?

if voc==0 then

doSendMagicEffect(pos,32)

doPlayerSendCancel(cid, "Você está sem lvl")

elseif lvl==50 then

elseif voc==369 then

doSendMagicEffect(pos,32)

doPlayerSetVocation(cid,voc +380)

doSetCreatureOutfit(cid,{lookType=280,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50},4 * 60 * 1000)

doCreatureSay(cid, "Transform...UaaaaaaAaahHhhh!!!", TALKTYPE_ORANGE_1)

addEvent(returnTransform, minutos*9999*60, cid)

elseif voc==380 then

doSendMagicEffect(pos,2)

dolvlPlayerSetVocation(cid,voc +50)

doSetCreatureOutfit(cid,{lookType=120,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50},4 * 60 * 1000)

doCreatureSay(cid, "Transform...UaaaaaaAaahHhhh!!!", TALKTYPE_ORANGE_1)

addEvent(returnTransform, minutos*9999*60, cid)

elseif voc==3 then

doSendMagicEffect(pos,2)

doPlayerSetVocation(cid,voc +4)

doSetCreatureOutfit(cid,{lookType = 440, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = getCreatureOutfit(cid).lookAddons},4 * 60 * 1000)

doCreatureSay(cid, "Transform...UaaaaaaAaahHhhh!!!", TALKTYPE_ORANGE_1)

addEvent(returnTransform, minutos*9999*60, cid)

elseif voc==4 then

doSendMagicEffect(pos,2)

doPlayerSetVocation(cid,voc +4)

doSetCreatureOutfit(cid,{lookType = 440, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = getCreatureOutfit(cid).lookAddons},4 * 60 * 1000)

doCreatureSay(cid, "Transform...UaaaaaaAaahHhhh!!!", TALKTYPE_ORANGE_1)

addEvent(returnTransform, minutos*9999*60, cid)

else

doPlayerSendCancel(cid, "Você Ja esta Transformado.")

end

end

 

 

Ajuda ai quem me ajuda do resp

Link para o comentário
Compartilhar em outros sites

  • 1 month later...

function onSay(cid, words)

local voc = getPlayerVocation(cid) --Obter Vocação do Player

local pos = getCreaturePosition(cid) --Obter Posição do Player

local lvl = getPlayerLevel(cid) --Obter LvL do Player

local minutos = 465656565 -- Quanto tempo depois em minutos a transformação vai sumir?

 

if voc == 0 then

doSendMagicEffect(pos,32)

doPlayerSendCancel(cid, "Você não pode se transformar")

end

 

if lvl >= 50 then -- LvL necessario para se transformar

if voc == 369 then

doSendMagicEffect(pos,32)

doPlayerSetVocation(cid,voc +380)

doSetCreatureOutfit(cid,{lookType=280,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50},4 * 60 * 1000)

doCreatureSay(cid, "Transform...UaaaaaaAaahHhhh!!!", TALKTYPE_ORANGE_1)

addEvent(returnTransform, minutos*9999*60, cid)

end

 

if voc == 380 then

doSendMagicEffect(pos,2)

dolvlPlayerSetVocation(cid,voc +50)

doSetCreatureOutfit(cid,{lookType=120,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50},4 * 60 * 1000)

doCreatureSay(cid, "Transform...UaaaaaaAaahHhhh!!!", TALKTYPE_ORANGE_1)

addEvent(returnTransform, minutos*9999*60, cid)

end

 

if voc == 3 then

doSendMagicEffect(pos,2)

doPlayerSetVocation(cid,voc +4)

doSetCreatureOutfit(cid,{lookType = 440, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = getCreatureOutfit(cid).lookAddons},4 * 60 * 1000)

doCreatureSay(cid, "Transform...UaaaaaaAaahHhhh!!!", TALKTYPE_ORANGE_1)

addEvent(returnTransform, minutos*9999*60, cid)

end

 

if voc == 4 then

doSendMagicEffect(pos,2)

doPlayerSetVocation(cid,voc +4)

doSetCreatureOutfit(cid,{lookType = 440, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = getCreatureOutfit(cid).lookAddons},4 * 60 * 1000)

doCreatureSay(cid, "Transform...UaaaaaaAaahHhhh!!!", TALKTYPE_ORANGE_1)

addEvent(returnTransform, minutos*9999*60, cid)

end

else

doPlayerSendCancel(cid, "Você não possui o lvl necessario!")

end

end

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...