• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Problem in a Action

bruxo

Mirage Team
Joined
Oct 8, 2007
Messages
33
Reaction score
1
Location
Porto Alegre, Brazil
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:

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.
 
COuld u tell me somting is the 9999999 in seconds/minuts/hours??

because what i see u dont have an counter altought in many scripts you dont need an counter
 
Back
Top