Hello! I have a problem :/
With that code, the player will be change his outfit.. but i need this:
When the npc say Hello! You are full health! the NPC change his outfit with add event
I try with this line but don't work
Who can help me? D:
Thanks.
Code:
local this = getCreatureMaster(cid)
selfSay("Hello! You are full health!")
addEvent(doSetCreatureOutfit, 500, this, {lookType = 626}, 1000)
addEvent(doSetCreatureOutfit, 1000, this, {lookType = 627}, 1000)
addEvent(doSetCreatureOutfit, 1500, this, {lookType = 626}, 1000)
addEvent(doSetCreatureOutfit, 2000, this, {lookType = 181}, 1000)
With that code, the player will be change his outfit.. but i need this:
When the npc say Hello! You are full health! the NPC change his outfit with add event
I try with this line but don't work
Code:
addEvent(doSetCreatureOutfit, 1500, npc, {lookType = 626}, 1000)
Who can help me? D:
Thanks.