*** Noob Colored ***

Vou estar ensinando um tutorial bem simples e divertido. Garanto que vocês vão gosta =)
Va na pasta Data/talkactions/scripts/, clone 5 arquivo de tipo Lua, renomeie cada um dos arquivo conforme.
1º Black noob2º blue noob
3º green noob
4º orange noob
5º red noob
Agora abra o arquivo black noob.lua, apague todo conteúdo de dentro e subistitua por isso:
function onSay(cid, words, param) playerpos = getPlayerPosition(cid) if math.max(math.abs(playerpos.x-23), math.abs(playerpos.y-30)) < 9999 then doSendAnimatedText(playerpos, "Noob!", TEXTCOLOR_BLACK) return 0 end return 1 end
Agora abra o arquivo blue noob.lua, apague todo conteúdo de dentro e subistitua por isso:
function onSay(cid, words, param) playerpos = getPlayerPosition(cid) if math.max(math.abs(playerpos.x-23), math.abs(playerpos.y-30)) < 9999 then doSendAnimatedText(playerpos, "Noob!", TEXTCOLOR_BLUE) return 0 end return 1 end
Agora abra o arquivo green noob.lua, apague todo conteúdo de dentro e subistitua por isso:
function onSay(cid, words, param) playerpos = getPlayerPosition(cid) if math.max(math.abs(playerpos.x-23), math.abs(playerpos.y-30)) < 9999 then doSendAnimatedText(playerpos, "Noob!", TEXTCOLOR_LIGHTGREEN) return 0 end return 1 end
Agora abra o arquivo orange noob.lua, apague todo conteúdo de dentro e subistitua por isso:
function onSay(cid, words, param) playerpos = getPlayerPosition(cid) if math.max(math.abs(playerpos.x-23), math.abs(playerpos.y-30)) < 9999 then doSendAnimatedText(playerpos, "Noob!", TEXTCOLOR_ORANGE) return 0 end return 1 end
Agora abra o arquivo red noob.lua, apague todo conteúdo de dentro e subistitua por isso:
function onSay(cid, words, param) playerpos = getPlayerPosition(cid) if math.max(math.abs(playerpos.x-23), math.abs(playerpos.y-30)) < 9999 then doSendAnimatedText(playerpos, "Noob!", TEXTCOLOR_RED) return 0 end return 1 end
Pronto:
Agora va em, Data/talkactions/talkactions.XML/, e adicione isso dentro:
<talkaction words="!red noob" script="red noob.lua" /> <talkaction words="!green noob" script="green noob.lua" /> <talkaction words="!blue noob" script="blue noob.lua" /> <talkaction words="!black noob" script="black noob.lua" /> <talkaction words="!orange noob" script="orange noob.lua" />
Pronto galera mais um tutorial divertido pra vocês zua no seus Ot's. =)
Esperto que vocês tenham gostado.

Cya.
Anteciosamente: GoD Fakezin