1) My Outifit Tile
The tile must change only the Outifit colors of the player! to red "86" and say: "Are you ready for war?" (Now, It's working but change the looktype and say only: "are you r", (why it is happening?someone knows?)
look the script:
2) Players can't heal with potions and UH , while they're running, how I can fix that?
Thanks, A LOT!!
The tile must change only the Outifit colors of the player! to red "86" and say: "Are you ready for war?" (Now, It's working but change the looktype and say only: "are you r", (why it is happening?someone knows?)
look the script:
local outfit = {lookType = 252, lookHead = 79, lookBody = 91, lookLegs = 91, lookFeet = 91, lookTypeEx = 0, lookAddons = 3}
local outfiti = {lookType = 252, lookHead = 86, lookBody = 86, lookLegs = 86, lookFeet = 86, lookTypeEx = 0, lookAddons = 3}
function onStepIn(cid, item, pos)
if isPlayer(cid) == TRUE and getPlayerSex(cid) == 0 then
doCreatureChangeOutfit(cid, outfit)
doSendMagicEffect(getThingPos(cid), 43)
doSendAnimatedText(getPlayerPosition(cid),"Are you ready for war?!", math.random(01,255))
else
if isPlayer(cid) == TRUE and getPlayerSex(cid) > 0 then
doCreatureChangeOutfit(cid, outfiti)
doSendMagicEffect(getThingPos(cid), 43)
doSendAnimatedText(getPlayerPosition(cid),"Are you ready for war?!", math.random(01,255))
end
end
return TRUE
end
2) Players can't heal with potions and UH , while they're running, how I can fix that?
Thanks, A LOT!!