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


En este foro encontras ayuda subre tu Otserver
 
ÍndicePortalÚltimas imágenesBuscarRegistrarseConectarse
Navegación
 Portal
 Índice
 Miembros
 Perfil
 FAQ
 Buscar
Conectarse
Nombre de Usuario:
Contraseña:
Entrar automáticamente en cada visita: 
:: Recuperar mi contraseña
Últimos temas
» johnnathann
[TALKACTION] God/GM da item a un player Icon_minitimeSáb Sep 15, 2012 8:48 pm por johnnathannj

»  [8.70] Real Global Map 1.8 + Imagenes + Scans
[TALKACTION] God/GM da item a un player Icon_minitimeLun Jun 11, 2012 4:53 am por Lazcano

» Speedy War [8.60]
[TALKACTION] God/GM da item a un player Icon_minitimeVie Mar 30, 2012 2:12 pm por GOD ALE

»  [Rpg-Pvp][8.60]Kreuus Easy
[TALKACTION] God/GM da item a un player Icon_minitimeJue Mar 29, 2012 11:42 pm por GOD ALE

» [Script] Royal Crossbow!
[TALKACTION] God/GM da item a un player Icon_minitimeJue Mar 29, 2012 11:22 pm por GOD ALE

» Ayuda con el ot server
[TALKACTION] God/GM da item a un player Icon_minitimeJue Mar 29, 2012 10:45 pm por GOD ALE

»  Tiko ot editado 8.60
[TALKACTION] God/GM da item a un player Icon_minitimeJue Mar 29, 2012 10:34 pm por GOD ALE

»  VikiRanch.'[8.60] war v.1.0
[TALKACTION] God/GM da item a un player Icon_minitimeJue Mar 29, 2012 9:54 pm por GOD ALE

» Abrir Puertos De Tibia En El Router Thomson tg585 de telmex
[TALKACTION] God/GM da item a un player Icon_minitimeVie Oct 28, 2011 1:21 pm por panda

Mejores posteadores
Dj Pacos
[TALKACTION] God/GM da item a un player I_vote_lcap[TALKACTION] God/GM da item a un player I_voting_bar[TALKACTION] God/GM da item a un player I_vote_rcap 
admin heber723
[TALKACTION] God/GM da item a un player I_vote_lcap[TALKACTION] God/GM da item a un player I_voting_bar[TALKACTION] God/GM da item a un player I_vote_rcap 
God Maracula
[TALKACTION] God/GM da item a un player I_vote_lcap[TALKACTION] God/GM da item a un player I_voting_bar[TALKACTION] God/GM da item a un player I_vote_rcap 
GoD Mexicansoul
[TALKACTION] God/GM da item a un player I_vote_lcap[TALKACTION] God/GM da item a un player I_voting_bar[TALKACTION] God/GM da item a un player I_vote_rcap 
God Dunckan
[TALKACTION] God/GM da item a un player I_vote_lcap[TALKACTION] God/GM da item a un player I_voting_bar[TALKACTION] God/GM da item a un player I_vote_rcap 
Admin Azteca
[TALKACTION] God/GM da item a un player I_vote_lcap[TALKACTION] God/GM da item a un player I_voting_bar[TALKACTION] God/GM da item a un player I_vote_rcap 
Slayer
[TALKACTION] God/GM da item a un player I_vote_lcap[TALKACTION] God/GM da item a un player I_voting_bar[TALKACTION] God/GM da item a un player I_vote_rcap 
God Damubu
[TALKACTION] God/GM da item a un player I_vote_lcap[TALKACTION] God/GM da item a un player I_voting_bar[TALKACTION] God/GM da item a un player I_vote_rcap 
DJ Punk
[TALKACTION] God/GM da item a un player I_vote_lcap[TALKACTION] God/GM da item a un player I_voting_bar[TALKACTION] God/GM da item a un player I_vote_rcap 
Glonlova
[TALKACTION] God/GM da item a un player I_vote_lcap[TALKACTION] God/GM da item a un player I_voting_bar[TALKACTION] God/GM da item a un player I_vote_rcap 

 

 [TALKACTION] God/GM da item a un player

Ir abajo 
3 participantes
AutorMensaje
Dj Pacos
Admin
Admin
Dj Pacos


100

Mensajes : 169
Puntos : 294
Reputación : 56
Fecha de inscripción : 01/05/2011
Edad : 31

[TALKACTION] God/GM da item a un player Empty
MensajeTema: [TALKACTION] God/GM da item a un player   [TALKACTION] God/GM da item a un player Icon_minitimeLun Mayo 02, 2011 9:22 pm

Como usar :

/giveitem nombre_del_jugador,id_del_item,cantidad

ejemplo : /giveitem Dj Pacos,2610,100

1. Hagan un nuevo archivo lua en DATA/ACTIONS/SCRIPTS

2. Nombrenlo "giveitem"

3. Pongan esto:

Código:

function onSay(cid, words, param)
local param = param.explode(param, ',')
if param then
 if isPlayer(getCreatureByName(param[1])) == TRUE then
  doPlayerSendTextMessage(getCreatureByName(param[1]), 22, "You recieved an item from an admin!")
  doPlayerAddItem(getCreatureByName(param[1]), param[2], param[3])
 end
 else
  doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.")
 end
return TRUE
end

4. Ahora agregen esto en DATA/ACTIONS/ACTIONS.XML
Código:

<talkaction log="yes" access="5" words="/giveitem" event="script" value="giveitem.lua"/>

Creditos :

100% Aarthec

Espero que les sirva! Very Happy


Última edición por Dj Pacos el Miér Mayo 04, 2011 4:21 pm, editado 1 vez
Volver arriba Ir abajo
knight god
Nivel 1
Nivel 1



Mensajes : 6
Puntos : 8
Reputación : 0
Fecha de inscripción : 04/05/2011

[TALKACTION] God/GM da item a un player Empty
MensajeTema: Re: [TALKACTION] God/GM da item a un player   [TALKACTION] God/GM da item a un player Icon_minitimeMiér Mayo 04, 2011 1:13 pm

te equivocaste rotundamente, primero es talkaction no action xDDD!!
Volver arriba Ir abajo
admin heber723
Admin
Admin
admin heber723


100

Mensajes : 128
Puntos : 1163
Reputación : 16
Fecha de inscripción : 27/04/2011

[TALKACTION] God/GM da item a un player Empty
MensajeTema: Re: [TALKACTION] God/GM da item a un player   [TALKACTION] God/GM da item a un player Icon_minitimeMiér Mayo 04, 2011 1:31 pm

chido man +rep
Volver arriba Ir abajo
Dj Pacos
Admin
Admin
Dj Pacos


100

Mensajes : 169
Puntos : 294
Reputación : 56
Fecha de inscripción : 01/05/2011
Edad : 31

[TALKACTION] God/GM da item a un player Empty
MensajeTema: Re: [TALKACTION] God/GM da item a un player   [TALKACTION] God/GM da item a un player Icon_minitimeMiér Mayo 04, 2011 4:21 pm

knight god escribió:
te equivocaste rotundamente, primero es talkaction no action xDDD!!

perdon.. estaba con sueño cuando lo escribi.. ahora le cambio el nombre.. gracias por la observacion Razz
Volver arriba Ir abajo
Contenido patrocinado





[TALKACTION] God/GM da item a un player Empty
MensajeTema: Re: [TALKACTION] God/GM da item a un player   [TALKACTION] God/GM da item a un player Icon_minitime

Volver arriba Ir abajo
 
[TALKACTION] God/GM da item a un player
Volver arriba 
Página 1 de 1.
 Temas similares
-
» [TALKACTION] Addon Doll
» [Action/Talkaction] Contrareloj! xD
»  Item Ruleta
» [ACTION] Item Upgrade System
» [Script] Como Editar Un Item

Permisos de este foro:No puedes responder a temas en este foro.
Dark-Tibia :: Scripts-
Cambiar a: