Ir para conteúdo

Featured Replies

Postado
  • Autor
1 hora atrás, DukeeH disse:

@luannhrj

Era pra aparecer isso mesmo.

Desculpa a demora e erros, não uso o 0.4 e não tenho como testar, ai eu vou fazendo e você tem que testar.

Pode testar esse, achei um problema, eu estava contando os resets que o cara tinha antes para calcular a vida, como você tinha 0 ele fazia 0*300 (hp) 0*1000 (mana) o que da pau, porque 0 multiplicando qualquer coisa é 0.

Segue corrigido: (Já coloquei também o look, favor testar.)


<?xml version="1.0" encoding="UTF-8"?>
<mod name="Reset System" version="1.0" author="Kimoszin" contact="tibiaking.com" enabled="yes">
 
    <!-- Configuracao -->
        <config name="reset_config"><![CDATA[
                config = {
                        level = 700,                      
                        premium = false,        
                        storage = 54676,
                }
 
 				function getResets(cid)
					resets = getCreatureStorage(cid, config.storage)
					if resets < 0 then
						resets = 0
					end
					return resets
				end
				
 
                function reset(cid)
                        if (config.premium and not(isPremium(cid)) ) then
                                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You need have a premium account.")
                        end
 
                        if (getPlayerLevel(cid) < config.level) then
                                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisar Ser Lv "..config.level..".")
                        end
 
                        if not(getTilePzInfo(getCreaturePosition(cid))) then
                                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisa Tar em Area Pz Para Resetar.")
                        end
                       resetando = getResets(cid)+1
					   if isInArray({1,2}, getPlayerVocation(cid)) then
						   local hp = resetando*300
						   local mana = resetando*1000
					   elseif getPlayerVocation(cid) == 3 then
						   local hp = resetando*800
						   local mana = resetando*500
					   elseif getPlayerVocation(cid) == 4 then
						   local hp = resetando*1000
						   local mana = resetando*300
					   end
						local difhp = hp-getCreatureMaxHealth(cid)
						local difmana = mana-getCreatureMaxMana(cid)
					   	setCreatureMaxHealth(cid, hp)
						doCreatureAddHealth(cid, difhp)
						setCreatureMaxMana(cid, mana)
						doCreatureAddMana(cid, difmana)
                        doPlayerAddLevel(cid, - (getPlayerLevel(cid) - 8))
                        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN)
                        doCreatureSetStorage(cid, config.storage, getResets(cid)+1)
                        return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Parabens, Voce Foi Resetado. Voce Agora Tem "..getResets(cid).." Resets.")
                end
 

        ]]></config>
 
        <!-- Talkaction para resetar -->
        <talkaction words="!reset" event="buffer"><![CDATA[
                domodlib('reset_config')
                reset(cid)
        ]]></talkaction>
 
        <!-- Talkaction para ver quantos resets tem -->
        <talkaction words="!myresets" event="buffer"><![CDATA[
                domodlib('reset_config')
                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Tem "..getResets(cid).." Resets.")
        ]]></talkaction>
 
        <!-- Tile -->
        <movevent type="StepIn" actionid="9911" event="script"><![CDATA[
                domodlib('reset_config')
                function onStepIn(cid, item, position, fromPosition)
                        local minResets = 1
 
                        if (not(getResets(cid) >= minResets)) then
                                doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui")
                                return doTeleportThing(cid, fromPosition)
                        end
 
                        doPlayerSendCancel(cid, "Bem Vindo")
                end
        ]]></movevent>
 
        <!-- Porta -->
        <action actionid="9910" event="script"><![CDATA[
                domodlib('reset_config')
                function onUse(cid, item, position, fromPosition)
                        local minResets = 5
 
                        if not(getResets(cid) >= minResets) then
                                return doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui")
                        end
 
                        doPlayerSendCancel(cid, "Bem Vindo")
                end
        ]]></action>
		
		<event type="login" name="lookResetLogin" event="script"><![CDATA[
			domodlib('teamFunctions')
			 
			function onLogin(cid)       
				registerCreatureEvent(cid, "lookReset")
				return true
			end
		]]></event>
		
		<event type="look" name="lookReset" event="script"><![CDATA[
			domodlib('reset_config')
			function onLook(cid, thing, position, lookDistance)
			
			if isPlayer(thing.uid) then
				doPlayerSetSpecialDescription(thing.uid, "\nResets: [" .. getResets(thing.uid) .."]")
			end
				
				return true
			end
		]]></event>
</mod>

 

ta dando esse erro ainda :s https://uploaddeimagens.com.br/imagens/erro5-png--4 na hora de dar !reset

  • Respostas 25
  • Visualizações 1.9k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • --Script By Theax "" function getPlayerFrags(cid) local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week

  • <?xml version="1.0" encoding="UTF-8"?> <mod name="Reset System" version="1.0" author="Kimoszin" contact="tibiaking.com" enabled="yes"> <!-- Configuracao --> <config

  • Retirei o reset no look, me manda o script que mostra o frags no look, vou colocar os dois juntos, se não ele vai mostrar ou um ou outro.   <?xml version="1.0" encoding="UTF-8"?> <mo

Postado
6 minutos atrás, luannhrj disse:

ta dando esse erro ainda :s https://uploaddeimagens.com.br/imagens/erro5-png--4 na hora de dar !reset

<?xml version="1.0" encoding="UTF-8"?>
<mod name="Reset System" version="1.0" author="Kimoszin" contact="tibiaking.com" enabled="yes">
 
    <!-- Configuracao -->
        <config name="reset_config"><![CDATA[
                config = {
                        level = 700,                      
                        premium = false,        
                        storage = 54676,
                }
 
 				function getResets(cid)
					resets = getCreatureStorage(cid, config.storage)
					if resets < 0 then
						resets = 0
					end
					return resets
				end
				
 
                function reset(cid)
                        if (config.premium and not(isPremium(cid)) ) then
                                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You need have a premium account.")
                        end
 
                        if (getPlayerLevel(cid) < config.level) then
                                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisar Ser Lv "..config.level..".")
                        end
 
                        if not(getTilePzInfo(getCreaturePosition(cid))) then
                                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisa Tar em Area Pz Para Resetar.")
                        end
                       resetando = getResets(cid)+1
					   if isInArray({1,2}, getPlayerVocation(cid)) then
						   local hp = resetando*300
						   local mana = resetando*1000
					   elseif getPlayerVocation(cid) == 3 then
						   local hp = resetando*800
						   local mana = resetando*500
					   elseif getPlayerVocation(cid) == 4 then
						   local hp = resetando*1000
						   local mana = resetando*300
					   end

					   	setCreatureMaxHealth(cid, hp)
						setCreatureMaxMana(cid, mana)
                        doPlayerAddLevel(cid, - (getPlayerLevel(cid) - 8))
                        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN)
                        doCreatureSetStorage(cid, config.storage, getResets(cid)+1)
                        return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Parabens, Voce Foi Resetado. Voce Agora Tem "..getResets(cid).." Resets.")
                end
 

        ]]></config>
 
        <!-- Talkaction para resetar -->
        <talkaction words="!reset" event="buffer"><![CDATA[
                domodlib('reset_config')
                reset(cid)
        ]]></talkaction>
 
        <!-- Talkaction para ver quantos resets tem -->
        <talkaction words="!myresets" event="buffer"><![CDATA[
                domodlib('reset_config')
                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Tem "..getResets(cid).." Resets.")
        ]]></talkaction>
 
        <!-- Tile -->
        <movevent type="StepIn" actionid="9911" event="script"><![CDATA[
                domodlib('reset_config')
                function onStepIn(cid, item, position, fromPosition)
                        local minResets = 1
 
                        if (not(getResets(cid) >= minResets)) then
                                doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui")
                                return doTeleportThing(cid, fromPosition)
                        end
 
                        doPlayerSendCancel(cid, "Bem Vindo")
                end
        ]]></movevent>
 
        <!-- Porta -->
        <action actionid="9910" event="script"><![CDATA[
                domodlib('reset_config')
                function onUse(cid, item, position, fromPosition)
                        local minResets = 5
 
                        if not(getResets(cid) >= minResets) then
                                return doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui")
                        end
 
                        doPlayerSendCancel(cid, "Bem Vindo")
                end
        ]]></action>
		
		<event type="login" name="lookResetLogin" event="script"><![CDATA[
			domodlib('teamFunctions')
			 
			function onLogin(cid)       
				registerCreatureEvent(cid, "lookReset")
				return true
			end
		]]></event>
		
		<event type="look" name="lookReset" event="script"><![CDATA[
			domodlib('reset_config')
			function onLook(cid, thing, position, lookDistance)
			
			if isPlayer(thing.uid) then
				doPlayerSetSpecialDescription(thing.uid, "\nResets: [" .. getResets(thing.uid) .."]")
			end
				
				return true
			end
		]]></event>
</mod>

 

Postado
  • Autor
29 minutos atrás, DukeeH disse:

<?xml version="1.0" encoding="UTF-8"?>
<mod name="Reset System" version="1.0" author="Kimoszin" contact="tibiaking.com" enabled="yes">
 
    <!-- Configuracao -->
        <config name="reset_config"><![CDATA[
                config = {
                        level = 700,                      
                        premium = false,        
                        storage = 54676,
                }
 
 				function getResets(cid)
					resets = getCreatureStorage(cid, config.storage)
					if resets < 0 then
						resets = 0
					end
					return resets
				end
				
 
                function reset(cid)
                        if (config.premium and not(isPremium(cid)) ) then
                                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You need have a premium account.")
                        end
 
                        if (getPlayerLevel(cid) < config.level) then
                                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisar Ser Lv "..config.level..".")
                        end
 
                        if not(getTilePzInfo(getCreaturePosition(cid))) then
                                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisa Tar em Area Pz Para Resetar.")
                        end
                       resetando = getResets(cid)+1
					   if isInArray({1,2}, getPlayerVocation(cid)) then
						   local hp = resetando*300
						   local mana = resetando*1000
					   elseif getPlayerVocation(cid) == 3 then
						   local hp = resetando*800
						   local mana = resetando*500
					   elseif getPlayerVocation(cid) == 4 then
						   local hp = resetando*1000
						   local mana = resetando*300
					   end

					   	setCreatureMaxHealth(cid, hp)
						setCreatureMaxMana(cid, mana)
                        doPlayerAddLevel(cid, - (getPlayerLevel(cid) - 8))
                        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN)
                        doCreatureSetStorage(cid, config.storage, getResets(cid)+1)
                        return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Parabens, Voce Foi Resetado. Voce Agora Tem "..getResets(cid).." Resets.")
                end
 

        ]]></config>
 
        <!-- Talkaction para resetar -->
        <talkaction words="!reset" event="buffer"><![CDATA[
                domodlib('reset_config')
                reset(cid)
        ]]></talkaction>
 
        <!-- Talkaction para ver quantos resets tem -->
        <talkaction words="!myresets" event="buffer"><![CDATA[
                domodlib('reset_config')
                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Tem "..getResets(cid).." Resets.")
        ]]></talkaction>
 
        <!-- Tile -->
        <movevent type="StepIn" actionid="9911" event="script"><![CDATA[
                domodlib('reset_config')
                function onStepIn(cid, item, position, fromPosition)
                        local minResets = 1
 
                        if (not(getResets(cid) >= minResets)) then
                                doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui")
                                return doTeleportThing(cid, fromPosition)
                        end
 
                        doPlayerSendCancel(cid, "Bem Vindo")
                end
        ]]></movevent>
 
        <!-- Porta -->
        <action actionid="9910" event="script"><![CDATA[
                domodlib('reset_config')
                function onUse(cid, item, position, fromPosition)
                        local minResets = 5
 
                        if not(getResets(cid) >= minResets) then
                                return doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui")
                        end
 
                        doPlayerSendCancel(cid, "Bem Vindo")
                end
        ]]></action>
		
		<event type="login" name="lookResetLogin" event="script"><![CDATA[
			domodlib('teamFunctions')
			 
			function onLogin(cid)       
				registerCreatureEvent(cid, "lookReset")
				return true
			end
		]]></event>
		
		<event type="look" name="lookReset" event="script"><![CDATA[
			domodlib('reset_config')
			function onLook(cid, thing, position, lookDistance)
			
			if isPlayer(thing.uid) then
				doPlayerSetSpecialDescription(thing.uid, "\nResets: [" .. getResets(thing.uid) .."]")
			end
				
				return true
			end
		]]></event>
</mod>

 

consegui resetar 10:51 Parabens, Voce Foi Resetado. Voce Agora Tem 1 Resets. , só que o char volta pro level 8 sem deslogar, ai continua aparecendo a mesma quantidade de hp e mana, reloguei e continuou do mesmo jeito, fui matar um bixo pra ver oq acontecia e acabei morrendo, ai meu char bugou, quando eu tento logar ele ja aparece morto, eu nao reiniciei o server apenas dei reload, será q o erro foi esse ou tem q mecher no script ainda? (edit) usei um master sorcerer pra testar, dei o reset, o char voltou no level 8, com 300 de vida e 740 de mana, olhei no sqlite e consta la essa quantia em hp e em mana, mas não em healthmax e manamax, por isso quando eu morro o char nasce sem vida, e também nao tá contando os resets no look, e teria como colocar pro char deslogar ao resetar? (o char ja ta com 2 resets, vou tentar achar na database pra zerar esse reset e testar de novo)

Editado por luannhrj (veja o histórico de edições)

Postado

@luannhrj

Era pra acontecer aquilo mesmo, achei o erro e agora acho que corrigi.

Favor testar, testa também o look.

 

<?xml version="1.0" encoding="UTF-8"?>
<mod name="Reset System" version="1.0" author="Kimoszin" contact="tibiaking.com" enabled="yes">
 
    <!-- Configuracao -->
        <config name="reset_config"><![CDATA[
                config = {
                        level = 700,                      
                        premium = false,        
                        storage = 54676,
                }
 
 				function getResets(cid)
					resets = getCreatureStorage(cid, config.storage)
					if resets < 0 then
						resets = 0
					end
					return resets
				end
				
 
                function reset(cid)
                        if (config.premium and not(isPremium(cid)) ) then
                                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You need have a premium account.")
                        end
 
                        if (getPlayerLevel(cid) < config.level) then
                                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisar Ser Lv "..config.level..".")
                        end
 
                        if not(getTilePzInfo(getCreaturePosition(cid))) then
                                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisa Tar em Area Pz Para Resetar.")
                        end
                       resetando = getResets(cid)+1
					   if isInArray({1,2}, getPlayerVocation(cid)) then					   
						   local resethp = resetando*300
						   local resetmana = resetando*1000
					   elseif getPlayerVocation(cid) == 3 then
						   local resethp = resetando*800
						   local resetmana = resetando*500
					   elseif getPlayerVocation(cid) == 4 then
						   local resethp = resetando*1000
						   local resetmana = resetando*300
					   end
					   
					   local hp = getCreatureMaxHealth(cid)
					   local mana = getCreatureMaxMana(cid)
					   local differencehp = (hp - resethp)
					   local differencemana = (mana - resetmana)
					  				  
					   	setCreatureMaxHealth(cid, resethp)
						setCreatureMaxMana(cid, resetmana)
						doCreatureAddHealth(cid, -differencehp)
						doCreatureAddMana(cid, -differencemana)
                        doPlayerAddLevel(cid, - (getPlayerLevel(cid) - 8))
                        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN)
                        doCreatureSetStorage(cid, config.storage, getResets(cid)+1)
                        return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Parabens, Voce Foi Resetado. Voce Agora Tem "..getResets(cid).." Resets.")
                end
 

        ]]></config>
 
        <!-- Talkaction para resetar -->
        <talkaction words="!reset" event="buffer"><![CDATA[
                domodlib('reset_config')
                reset(cid)
        ]]></talkaction>
 
        <!-- Talkaction para ver quantos resets tem -->
        <talkaction words="!myresets" event="buffer"><![CDATA[
                domodlib('reset_config')
                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Tem "..getResets(cid).." Resets.")
        ]]></talkaction>
 
        <!-- Tile -->
        <movevent type="StepIn" actionid="9911" event="script"><![CDATA[
                domodlib('reset_config')
                function onStepIn(cid, item, position, fromPosition)
                        local minResets = 1
 
                        if (not(getResets(cid) >= minResets)) then
                                doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui")
                                return doTeleportThing(cid, fromPosition)
                        end
 
                        doPlayerSendCancel(cid, "Bem Vindo")
                end
        ]]></movevent>
 
        <!-- Porta -->
        <action actionid="9910" event="script"><![CDATA[
                domodlib('reset_config')
                function onUse(cid, item, position, fromPosition)
                        local minResets = 5
 
                        if not(getResets(cid) >= minResets) then
                                return doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui")
                        end
 
                        doPlayerSendCancel(cid, "Bem Vindo")
                end
        ]]></action>
		
		<event type="login" name="lookResetLogin" event="script"><![CDATA[
			domodlib('teamFunctions')
			 
			function onLogin(cid)       
				registerCreatureEvent(cid, "lookReset")
				return true
			end
		]]></event>
		
		<event type="look" name="lookReset" event="script"><![CDATA[
			domodlib('reset_config')
			function onLook(cid, thing, position, lookDistance)
			
			if isPlayer(thing.uid) then
				doPlayerSetSpecialDescription(thing.uid, "\nResets: [" .. getResets(thing.uid) .."]")
			end
				
				return true
			end
		]]></event>
</mod>

 

Editado por DukeeH (veja o histórico de edições)

Postado
  • Autor
9 minutos atrás, DukeeH disse:

@luannhrj

Era pra acontecer aquilo mesmo, achei o erro e agora acho que corrigi.

Favor testar, testa também o look.

 


<?xml version="1.0" encoding="UTF-8"?>
<mod name="Reset System" version="1.0" author="Kimoszin" contact="tibiaking.com" enabled="yes">
 
    <!-- Configuracao -->
        <config name="reset_config"><![CDATA[
                config = {
                        level = 700,                      
                        premium = false,        
                        storage = 54676,
                }
 
 				function getResets(cid)
					resets = getCreatureStorage(cid, config.storage)
					if resets < 0 then
						resets = 0
					end
					return resets
				end
				
 
                function reset(cid)
                        if (config.premium and not(isPremium(cid)) ) then
                                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You need have a premium account.")
                        end
 
                        if (getPlayerLevel(cid) < config.level) then
                                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisar Ser Lv "..config.level..".")
                        end
 
                        if not(getTilePzInfo(getCreaturePosition(cid))) then
                                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisa Tar em Area Pz Para Resetar.")
                        end
                       resetando = getResets(cid)+1
					   if isInArray({1,2}, getPlayerVocation(cid)) then					   
						   local resethp = resetando*300
						   local resetmana = resetando*1000
					   elseif getPlayerVocation(cid) == 3 then
						   local resethp = resetando*800
						   local resetmana = resetando*500
					   elseif getPlayerVocation(cid) == 4 then
						   local resethp = resetando*1000
						   local resetmana = resetando*300
					   end
					   
					   local hp = getCreatureMaxHealth(cid)
					   local mana = getCreatureMaxMana(cid)
					   local differencehp = (hp - resethp)
					   local differencemana = (mana - resetmana)
					  				  
					   	setCreatureMaxHealth(cid, resethp)
						setCreatureMaxMana(cid, resetmana)
						doCreatureAddHealth(cid, -differencehp)
						doCreatureAddMana(cid, -differencemana)
                        doPlayerAddLevel(cid, - (getPlayerLevel(cid) - 8))
                        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN)
                        doCreatureSetStorage(cid, config.storage, getResets(cid)+1)
                        return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Parabens, Voce Foi Resetado. Voce Agora Tem "..getResets(cid).." Resets.")
                end
 

        ]]></config>
 
        <!-- Talkaction para resetar -->
        <talkaction words="!reset" event="buffer"><![CDATA[
                domodlib('reset_config')
                reset(cid)
        ]]></talkaction>
 
        <!-- Talkaction para ver quantos resets tem -->
        <talkaction words="!myresets" event="buffer"><![CDATA[
                domodlib('reset_config')
                return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Tem "..getResets(cid).." Resets.")
        ]]></talkaction>
 
        <!-- Tile -->
        <movevent type="StepIn" actionid="9911" event="script"><![CDATA[
                domodlib('reset_config')
                function onStepIn(cid, item, position, fromPosition)
                        local minResets = 1
 
                        if (not(getResets(cid) >= minResets)) then
                                doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui")
                                return doTeleportThing(cid, fromPosition)
                        end
 
                        doPlayerSendCancel(cid, "Bem Vindo")
                end
        ]]></movevent>
 
        <!-- Porta -->
        <action actionid="9910" event="script"><![CDATA[
                domodlib('reset_config')
                function onUse(cid, item, position, fromPosition)
                        local minResets = 5
 
                        if not(getResets(cid) >= minResets) then
                                return doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui")
                        end
 
                        doPlayerSendCancel(cid, "Bem Vindo")
                end
        ]]></action>
		
		<event type="login" name="lookResetLogin" event="script"><![CDATA[
			domodlib('teamFunctions')
			 
			function onLogin(cid)       
				registerCreatureEvent(cid, "lookReset")
				return true
			end
		]]></event>
		
		<event type="look" name="lookReset" event="script"><![CDATA[
			domodlib('reset_config')
			function onLook(cid, thing, position, lookDistance)
			
			if isPlayer(thing.uid) then
				doPlayerSetSpecialDescription(thing.uid, "\nResets: [" .. getResets(thing.uid) .."]")
			end
				
				return true
			end
		]]></event>
</mod>

ta dando esse erro agora : https://uploaddeimagens.com.br/imagens/erro6-png--3

 

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo