Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onUse(cid, item, fromPosition, itemEx, toPosition)
- local outfit = 2
- local maxOutfit = 367
- local blockeds = {302, 75}
- if not (isInArray(blockeds, outfit)) then
- if (outfit < maxOutfit) then
- doSetCreatureOutfit(cid, outfit, -1)
- outfit = outfit + 1
- else
- outfit = 2
- end
- else
- outfit = outfit + 1
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment