CU
talkaction

[Talkactions] Script De Te Amo

Por curruwilliam, 18 de ago. de 2011 em Actions e Talkactions

script
3
1.1k
curruwilliamC
18 de agosto de 2011 às 16:25

Va Na Sua Pasta Talkactions/Script abra qualquer arquivo .lua renomeie para staff.lua e cole esse codigo dentro :

 

function onSay(cid, words, param)

--não edite-------------------
player = getPlayerPosition(cid)
parametros = cid, words, param
------------------------------

--Edite ----------------------
--animation animation1 = 35
animation2 = 35
animation3 = 35
--text collor
--obs para descobrir novas cores ponhão em números (255 = preto)(0 = preto)
text_collor1 = 100
text_collor2 = 150
text_collor3 = 200
--tempo
time = 500 -- 1000 = 1segundo
--textos
texto1 = "Staff"
texto2 = "Te"
texto3 = "adollo"
------------------------------


if player == player then
doSendMagicEffect(player,animation1)
doSendAnimatedText(player,texto1,text_collor1)
addEvent(love, time, parametros)
end
end
function love(parametros)
if player == player then
doSendMagicEffect(player,animation2)
doSendAnimatedText(player,texto2,text_collor2)
addEvent(you, time, parametros)
end
end
function you(parametros)
if player == player then
doSendMagicEffect(player,animation3)
doSendAnimatedText(player,texto3,text_collor3)
end
end

 

Agora abra talkactions.xml e cole o codigo abaixo

 

<talkaction words="staff" script="staff.lua"/>

 

http://www.youtube.com/watch?v=wcUu7qYEAks&feature=player_embedded

 

Rep ++ ??

YondaimeBRGY
21 de agosto de 2011 às 13:29

Tkx!

22 de agosto de 2011 às 03:13

pow cara ta bem legal mais pro meu server não axu muito util :)

mais mesmo assim vlws. bom trabalho