The World of Open Tibia
Hola bienvenido a word open-tibia si quieres pertenecer a esta comunidad solo registrate, es fácil y sencillo Gracias por tu preferencia.

Aqui encontraras cosas de calidad.
The World of Open Tibia
Hola bienvenido a word open-tibia si quieres pertenecer a esta comunidad solo registrate, es fácil y sencillo Gracias por tu preferencia.

Aqui encontraras cosas de calidad.
The World of Open Tibia
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.


encontraras aquí todo sobre open-tibia
 
ÍndiceBuscarÚltimas imágenesRegistrarseConectarse
Afiliados
[SCRIPT] Agarrar chest con 100 cc Two10 [SCRIPT] Agarrar chest con 100 cc Two110
Conectarse
Nombre de Usuario:
Contraseña:
Entrar automáticamente en cada visita: 
:: Recuperar mi contraseña
Miembros que empiezan más temas
Belloz
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Darko0
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Kiba
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Cronox
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Falcón
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Darkens
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Hazardous
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
angel.maclish
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Alush
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Kashort
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Mejores posteadores
Belloz
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Kiba
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Darko0
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Darkens
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Alush
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
angel.maclish
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Hazardous
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Falcón
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Cronox
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Maniatiko™
[SCRIPT] Agarrar chest con 100 cc I_vote_lcap[SCRIPT] Agarrar chest con 100 cc I_voting_bar[SCRIPT] Agarrar chest con 100 cc I_vote_rcap 
Últimos temas
» afililiacion Tibiaguys
[SCRIPT] Agarrar chest con 100 cc EmptyMar Mayo 20, 2014 12:50 am por fernando1027

» Mi segundo spite :)
[SCRIPT] Agarrar chest con 100 cc EmptySáb Dic 08, 2012 9:54 pm por icaros

» New Aggrox ot 8.60 Edited
[SCRIPT] Agarrar chest con 100 cc EmptySáb Nov 03, 2012 4:42 pm por <Fercho>

» Afiliación a Stylez Records
[SCRIPT] Agarrar chest con 100 cc EmptyMar Oct 30, 2012 5:23 pm por Darko0

» [Sugerencia]Colocar una radio online por el foro
[SCRIPT] Agarrar chest con 100 cc EmptyJue Oct 25, 2012 6:56 am por Carlos Reguera DJ

» Server Map Rl 8.60
[SCRIPT] Agarrar chest con 100 cc EmptyDom Oct 07, 2012 6:28 pm por Vizellzhs

» Instalar Contenido Pago en tu Web
[SCRIPT] Agarrar chest con 100 cc EmptyJue Ago 30, 2012 8:34 pm por Darko0

» [Herramienta] Remere's Map Editor 3.0 [BETA]
[SCRIPT] Agarrar chest con 100 cc EmptyLun Ago 27, 2012 11:02 am por Darko0

» War map 8.60
[SCRIPT] Agarrar chest con 100 cc EmptyLun Ago 27, 2012 10:57 am por Darko0

Argumentos más vistos
Paquete de Nuevas Armas , Outfits , Granadas etc. [GOW] FREE!
New Aggrox ot 8.60 Edited
[BIBLIOTECA]Todas Las Versiones De Open Tibia
Concurso Mapping !
Mis sprites :Darko0
[8.60] AtomicsOT [CUSTOM]
Angel.Maclish Sprites
Como agregar Efectos a tu cliente!
Comandos Guild channel
Mi segundo spite :)

 

 [SCRIPT] Agarrar chest con 100 cc

Ir abajo 
AutorMensaje
Darko0
Scripter
Darko0


Premios Premios : Aportador

Posts : 58
Points : 652
Reputation : 32
Join date : 17/07/2012

[SCRIPT] Agarrar chest con 100 cc Empty
MensajeTema: [SCRIPT] Agarrar chest con 100 cc   [SCRIPT] Agarrar chest con 100 cc EmptyMar Jul 17, 2012 4:32 pm

Hola amigos les traigo este actionid que yo mismo cree jeje se trata de que cuando agarras un chest te da 100 cc no 1 si no 100 :P no se si ya este pero bueno se los paso

Action/Scripts/Crystals.lua
Código:
--[[ Script by Darko0]]--

local STORAGE = 1000

function onUse(cid, item, frompos, item2, topos)
  local Items = {2160}
  local Count = {100}
  local ItemCount = 0
  if (item.actionid == 1000) then
    if (getPlayerStorageValue(cid, STORAGE) < 1) then
      local i = 0
      local Plural = ""
      local ItemName = ""
      for i in Items do
        if (type(Count[i]) == 'string') then
          ItemCount = 1
        else
          ItemCount = Count[i]
        end
        local ItemName = getItemName(items[i])
        if ((ItemCount > 1) and (string.sub(ItemName, string.len(ItemName)) ~= "s")) then
          Plural = "s"
        else
          Plural = ""
        end
        doPlayerAddItem(cid, Items[i], ItemCount)
        doPlayerSendTextMessage(cid,MessageClasses, "You have found "..Count.." "..ItemName..Plural..".")
      end
    else
      doPlayerSendTextMessage(cid, 22, "It's empty.")
    end
  end
end



Actions.XML
Código:
<action uniqueid="2160" event="script" value="Crystals.lua"/>




Volver arriba Ir abajo
 
[SCRIPT] Agarrar chest con 100 cc
Volver arriba 
Página 1 de 1.
 Temas similares
-
» [SCRIPT] !go
» [SCRIPT] Advertesiment
» [SCRIPT] Cambios
» [SCRIPT] Change sex
» SCRIPT Advertesiment

Permisos de este foro:No puedes responder a temas en este foro.
The World of Open Tibia :: OT'S En General :: Scripts-
Cambiar a: