Tibia Help
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.


aQii te ayudaremos con Tus Ot Servers
 
ÍndicePortalÚltimas imágenesRegistrarseConectarse
Conectarse
Nombre de Usuario:
Contraseña:
Entrar automáticamente en cada visita: 
:: Recuperar mi contraseña
Últimos temas
» TITULO: Mu Black Kindom | Season 6 | 3000x | 80% | Nuevos Ev
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto I_icon_minitimeVie Oct 28, 2011 11:25 am por NAHUELLG

» (TUTORIAL) Como usar mage bomb =)
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto I_icon_minitimeDom Oct 09, 2011 7:29 am por GOD Roca

» Mu Skzer l Season 6 l Exp: 1600x l Drop: 80%
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto I_icon_minitimeJue Jul 07, 2011 2:57 am por NAHUELLG

» Mu Skzer l Season 6 l Exp: 1600x l Drop: 80%
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto I_icon_minitimeMar Jun 28, 2011 10:49 am por dnange18

» Mu Online Season 6 Finallity, la batalla final comienza by sairenji
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto I_icon_minitimeDom Jun 19, 2011 6:23 am por sairenji

» 9.x]-[8.7x]-[8.61/2]-[8.6]-[8.54/7] The Forgotten Server 0.3.6 - Crying Damson
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto I_icon_minitimeMiér Jun 15, 2011 9:51 am por Orejon

» ayuda porfaah
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto I_icon_minitimeJue Mayo 05, 2011 3:59 pm por Toniko

» Proyecto Dedicado Fennix Rl Map
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto I_icon_minitimeJue Mayo 05, 2011 3:42 pm por Toniko

» Como uso mega magebomb 8.6
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto I_icon_minitimeDom Mar 20, 2011 10:35 am por jasson

Mejores posteadores
God Sposo
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_lcap[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Voting_bar[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_rcap 
Admin Necro
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_lcap[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Voting_bar[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_rcap 
Admin Skit
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_lcap[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Voting_bar[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_rcap 
Zir GaboX
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_lcap[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Voting_bar[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_rcap 
Cubo
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_lcap[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Voting_bar[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_rcap 
¤•~x Єℓ ώαtэr x~•¤
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_lcap[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Voting_bar[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_rcap 
drawmarcos
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_lcap[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Voting_bar[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_rcap 
chinodj
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_lcap[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Voting_bar[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_rcap 
Toniko
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_lcap[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Voting_bar[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_rcap 
meleq
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_lcap[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Voting_bar[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Vote_rcap 
¿Quién está en línea?
En total hay 1 usuario en línea: 0 Registrados, 0 Ocultos y 1 Invitado

Ninguno

El record de usuarios en línea fue de 19 durante el Sáb Jun 20, 2020 8:57 am

 

 [TUTORIAL] Como Hacer Que Tu MR Diga un Texto

Ir abajo 
AutorMensaje
Admin Necro
ADMINISTRADOR
ADMINISTRADOR
Admin Necro


Mensajes : 64
Fecha de inscripción : 04/11/2010
Edad : 27
Localización : Mi Casa

[TUTORIAL] Como Hacer Que Tu MR Diga un Texto Empty
MensajeTema: [TUTORIAL] Como Hacer Que Tu MR Diga un Texto   [TUTORIAL] Como Hacer Que Tu MR Diga un Texto I_icon_minitimeJue Nov 04, 2010 12:16 pm

Bueno van a SuOt/data/action/scripts. copean un archivo le ponen le nombre textmr o el que ustedes deseen lo abre y borran todo los ke tenga adentro i pegan esto:



Código:
local MIN_HEALTH = 1000
local MAX_HEALTH = 1000
local MIN_MANA = 1200
local MAX_MANA = 1200

local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100))

function onUse(cid, item, fromPosition, itemEx, toPosition)
if isPlayer(itemEx.uid) == FALSE then
return FALSE
end

if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then
doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED)
return TRUE
end

if doCreatureAddHealth(itemEx.uid, math.random(MIN_HEALTH, MAX_HEALTH)) == LUA_ERROR or doPlayerAddMana(itemEx.uid, math.random(MIN_MANA, MAX_MANA)) == LUA_ERROR then
return FALSE
end

doAddCondition(cid, exhaust)
doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_FIREWORK_YELLOW)
doCreatureSay(itemEx.uid, "Aaah dale las gracias a Aunkinarium!",  TALKTYPE_ORANGE_1)

return TRUE
end


ok en doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_FIREWORK_YELLOW) ponen el efecto que ustedes deseen

en doCreatureSay(itemEx.uid, "Aaah dale las gracias a Aunkinarium!", TALKTYPE_ORANGE_1) aki ponen lo ke kieran ke diga el player al usar la mr

en: local MIN_HEALTH = 1000
local MAX_HEALTH = 1000
local MIN_MANA = 1200
local MAX_MANA = 1200 aki ponen kuanto mana i vida te subira

i en actions.xml ponen esto

Código:
<action itemid="2314" script="liquids/textmr.lua" />

Data: Donde dize:
<action itemid= 2314
Ai Tienes qe Poner la id de la mr :B


CREDITOS:


×~Aunkinarium~;ø~×
Volver arriba Ir abajo
https://tibiahelp.foroactivo.mx
 
[TUTORIAL] Como Hacer Que Tu MR Diga un Texto
Volver arriba 
Página 1 de 1.
 Temas similares
-
» [Tutorial] hacer monsters en forma de comida, u otros items.
» [TUTORIAL] Como Poner Scroll En Tu Ot
» [TUTORIAL] Como Poner Vip System!
» [TUTORIAL] Como Jugar Un Ot server
» [TUTORIAL] Como Editar Items

Permisos de este foro:No puedes responder a temas en este foro.
Tibia Help :: Tutoriales-
Cambiar a: