[Pedido] Script Que Da Um Newtype Espefico.

RodrigoElysium
em Lixeira Pública

RodrigoElysium

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 27/12/11Posts: 2Char no Tibia: Magic Dos Magic

Queria um scrippt que você desse por exemplo !tranform,

e ai ele vai para uma outfit espesifica Para versao 8.54

Rep+ para quem me ajudar.

paraoxtibia.png

Não sabe o quê é Elysium? Clique na imagem e descubra!

 

 

Npc Makker Elysium

DuuhCarvalho

:)
avatar
Conde
Conde

INFOS

Grupo: CondeRegistrado: 19/01/12Posts: 988Gênero: MasculinoChar no Tibia: Xerife Woody

Cara esse é com numero eu coloquei no meu ot os players gostaram (y'

 

function onSay(cid, words, param, channel)

if(param == '') then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.")

return true

end

 

local t = string.explode(param, ",")

t[1] = tonumber(t[1])

if(not t[1]) then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires numeric param.")

return true

end

 

local pid = cid

if(t[2]) then

pid = getPlayerByNameWildcard(t[2])

if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. t[2] .. " not found.")

return true

end

end

 

if(t[1] <= 1 or t[1] == 135 or (t[1] > 160 and t[1] < 192) or t[1] > 351) then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Such outfit does not exist.")

return true

end

 

local tmp = getCreatureOutfit(pid)

tmp.lookType = t[1]

 

doCreatureChangeOutfit(pid, tmp)

return true

end