Bom galera xtibiana é o seguinte gostaria de saber se alguem pode me ajuda com uns scripts aqui, bom é que quero juntar esses dois scripts de talkactions para que na hora de executa-los esteja em só um script o 1º é
function onSay(cid, words, param) local voce = 252 local lvl = 400 local voc = 305 local outfit = {lookType=324,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50} -- Zmiana outfitu w id? local outfitTime = 10999999 local napis = "GRRRWWW !" local effekt = 82 ----------------------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,"Você não tem level ou vocação !") end return 1 end
e o 2º é
function onSay(cid, words, param) local voce = 206 local lvl = 400 local voc = 303 local outfit = {lookType=277,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50} -- Zmiana outfitu w id? local outfitTime = 10999999 local napis = "SSJ5 !" local effekt = 82 ----------------------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,"Você não tem level ou vocação !") end return 1 end
tem alguma forma de coloca-los em só um arquivo lua ?
Desde já agradecido aos que poderem me ajuda '-'
e outra se a seção estiver na errada desculpa e por favor algum moderador mova ela para a seção correta obrigado.