bruxo
Mirage Team
Im trying to make a action who transform the player in a Gargoyle, only outfit sure.
When a GM use the item, this work fine.
But, if a normal player use the item, his outfit change only for a second...
This is the script:
And, if is possible, how i make do change the outfit forever? Without use 9999999999999999999999999 seconds.
Sry by my bad english.
When a GM use the item, this work fine.
But, if a normal player use the item, his outfit change only for a second...
This is the script:
function onUse(cid, item, frompos, item2, topos)
level = getPlayerLevel(cid)
if level >= 30 then
local outfit = {
lookType = 95,
lookHead = 20,
lookBody = 30,
lookLegs = 40,
lookFeet = 50,
lookAddons = 0
}
doSetCreatureOutfit(cid, outfit, 9999999999999999999999999)
else
doPlayerSendTextMessage(cid,22,"Algo deu errado.")
end
And, if is possible, how i make do change the outfit forever? Without use 9999999999999999999999999 seconds.
Sry by my bad english.