Novo Script Comando De NOOB,GOD,LOL como e e simples sai umas msgs emcima do seu char na hr q vc fala so q com cores diferentes
entao vamos ao script logo
Primeiro Va Em data/talkactions/talkactions.xml e la dentro add essas 3 tags la
<talkaction words="noob" event="script" value="noob.lua"/><talkaction words="lol" event="script" value="LoL.lua"/>
<talkaction words="god" event="script" value="god.lua"/>
Dps disso va em data/talkactions/scripts/e crie um arquivo.lua chamado god e dentro dele add isso
--[[----- By Baiakzik -----
]]--
local colors =
{
TEXTCOLOR_BLUE,
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, "GoD!", colors[random])
return 0
end
return 1
end
Dps Outro arquivo.lua chamado lol e dentro dele ponha isso dentro
--[[----- By Baiakzik -----
]]--
local colors =
{
TEXTCOLOR_BLUE,
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, "LoL!", colors[random])
return 0
end
return 1
end
e dps crie outro chamado noob e dentro dele escreva isso dentro
--[[---- By Baiakzik ----
]]--
local colors =
{
TEXTCOLOR_BLUE,
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, "NOOB!", colors[random])
return 0
end
return 1
end
se gostou dos scripts nao custa nada da um + rep