Ir para conteúdo

[Talkactions] Script De Crew'


curruwilliam

Posts Recomendados

Ola,

Vá Na Pasta Talkactions/Script Copie e Cole Qualker Arquivo e Ponha esse CODIGO renomeie para crew.lua

 

local colors =
{
TEXTCOLOR_BLUE,  -- cores das mesangens
TEXTCOLOR_LIGHTBLUE,
TEXTCOLOR_LIGHTGREEN,
TEXTCOLOR_TEAL,
TEXTCOLOR_PURPLE,
TEXTCOLOR_PLATINUMBLUE,
TEXTCOLOR_LIGHTGREY,
TEXTCOLOR_DARKRED,
TEXTCOLOR_RED,
TEXTCOLOR_ORANGE,
TEXTCOLOR_YELLOW,
TEXTCOLOR_WHITE_EXP
}
function onSay(cid, words, param)
local playerpos = getPlayerPosition(cid)
local random = math.random(1, #colors)

if math.max(math.abs(playerpos.x-23), math.abs(playerpos.y-30)) < 9999 then
doSendAnimatedText(playerpos, "Crew", colors[random])
doSendMagicEffect(topos, 5) 
return 1
end
return 1
end

 

Agora abra talkactions.xml e cole

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

 

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

 

Rep ++ ??

Editado por curruwilliam
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...