Idea: If start dance: may not move.
Azi, if you like, add to first post...
*Sorry bad english.
Code:
if string.lower(param) == "start" and not(events[pid].dancer) then
mayNotMove(cid, 1)
outBack = getCreatureOutfit(cid)
backOutfit[pid] = outBack
backOutfit[pid].lookType = outBack.lookType
backOutfit[pid].lookAddons = outBack.lookAddons
dancer({cid, events[pid]})
messager({cid, events[pid]})
outfitChanger({cid, events[pid]})
elseif string.lower(param) == "stop" and events[pid].dancer then
mayNotMove(cid, 0)
stopEvent(events[pid].dancer)
stopEvent(events[pid].messager)
stopEvent(events[pid].outfitChanger)
events[pid] = {}
doCreatureChangeOutfit(cid, backOutfit[pid])
end
return TRUE
end
Azi, if you like, add to first post...
*Sorry bad english.