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
Sistema Penal ;D Two10 Sistema Penal ;D Two110
Conectarse
Nombre de Usuario:
Contraseña:
Entrar automáticamente en cada visita: 
:: Recuperar mi contraseña
Miembros que empiezan más temas
Belloz
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Darko0
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Kiba
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Cronox
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Darkens
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Falcón
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Hazardous
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
angel.maclish
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Alush
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Kashort
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Mejores posteadores
Belloz
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Kiba
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Darko0
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Darkens
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Alush
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
angel.maclish
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Hazardous
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Falcón
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Cronox
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Maniatiko™
Sistema Penal ;D I_vote_lcapSistema Penal ;D I_voting_barSistema Penal ;D I_vote_rcap 
Últimos temas
» afililiacion Tibiaguys
Sistema Penal ;D EmptyMar Mayo 20, 2014 12:50 am por fernando1027

» Mi segundo spite :)
Sistema Penal ;D EmptySáb Dic 08, 2012 9:54 pm por icaros

» New Aggrox ot 8.60 Edited
Sistema Penal ;D EmptySáb Nov 03, 2012 4:42 pm por <Fercho>

» Afiliación a Stylez Records
Sistema Penal ;D EmptyMar Oct 30, 2012 5:23 pm por Darko0

» [Sugerencia]Colocar una radio online por el foro
Sistema Penal ;D EmptyJue Oct 25, 2012 6:56 am por Carlos Reguera DJ

» Server Map Rl 8.60
Sistema Penal ;D EmptyDom Oct 07, 2012 6:28 pm por Vizellzhs

» Instalar Contenido Pago en tu Web
Sistema Penal ;D EmptyJue Ago 30, 2012 8:34 pm por Darko0

» [Herramienta] Remere's Map Editor 3.0 [BETA]
Sistema Penal ;D EmptyLun Ago 27, 2012 11:02 am por Darko0

» War map 8.60
Sistema Penal ;D 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 :)

 

 Sistema Penal ;D

Ir abajo 
+2
Maniatiko™
angel.maclish
6 participantes
AutorMensaje
angel.maclish
Moderador Global
Moderador Global
angel.maclish


Posts : 40
Points : 54
Reputation : 0
Join date : 13/07/2012
Location : LPZ

Sistema Penal ;D Empty
MensajeTema: Sistema Penal ;D   Sistema Penal ;D EmptySáb Jul 14, 2012 9:27 am

[center]¿Qué es este sistema?
Bueno, él es el derecho de sus jugadores OTServer, ser ladrones o la policía.

[center]¿Para qué lo puedo utilizar?
para mantener su servidor más divertido

Primero Crean un .lua llamado Police, en SuServer\Data\Actions\Scripts:
Código:

function onUse(cid, item, fromPosition, itemEx, toPosition)

local config = {
minreward = 500, -- Mínimo que ganara el policía
maxreward = 2000, -- Máximo que ganara el policía
storage = 5569, -- Un Storage cualquiera
color = math.random(1, 255),
prisonPos = {x=1014, y=1034, z=7}, -- Para donde se tele-transportara el Ladrón
storagePreso = 5570, -- Un Storage cualquiera
time = 60, -- Tiempo que el Ladrón estará preso.
}
                local player = getSpectators(getCreaturePosition(cid), 7, 5)
                                local money = math.random(config.minreward, config.maxreward)

                if player and #player > 0 then
                                for t, pid in pairs(player) do
                                                if isPlayer(pid) and pid ~= cid then
                                                                if getPlayerStorageValue(pid, config.storage) == 1 then
                                                                                                                                                setPlayerStorageValue(pid, storagePreso, os.time()+config.time)
                                                                                                                                                doTeleportThing(pid, config.prisonPos)
                                                                                                                                                doPlayerAddMoney(cid, money)
                                                                                                                                                doPlayerSendTextMessage(pid, MESSAGE_EVENT_ADVANCE, "You have just been arrested for committing crimes.")
                                                                                                                                                doSendAnimatedText(getCreaturePosition(cid), "+"..money.."", config.color)
                                                                                                                                               
                                                                                                                                else
                                                                                                                                                doPlayerSendCancel(cid, "This player has not committed crimes.")
                                                                                                                                end
                                                end
                                end
                end
                return TRUE
end

Creen otro .lua llamado Thief :
Código:

function onUse(cid, item, itemEx)

local config = {
minMoneyRemove = 30, -- Mínimo que el Ladrón ganara.
maxMoneyRemove = 1400, -- Máximo que el Ladrón ganara.
storage = 5569, -- Un Storage cualquiera.
color = math.random(1, 255),
}
                local player = getSpectators(getCreaturePosition(cid), 7, 5)
                                local money = math.random(config.minMoneyRemove, config.maxMoneyRemove)

                if player and #player > 0 then
                                for t, pid in pairs(player) do
                                                if isPlayer(pid) and pid ~= cid then
                                                                if doPlayerRemoveMoney(pid, money) then
                                                                                                                                                setPlayerStorageValue(cid, config.storage, 1)
                                                                                                                                                doPlayerAddMoney(cid, money)
                                                                                                                                                doPlayerSendTextMessage(pid, MESSAGE_EVENT_ADVANCE, "You have just been stolen and lost "..money.." gps.")
                                                                                                                                                doSendAnimatedText(getCreaturePosition(cid), "+"..money.."", config.color)
                                                                                                                                else
                                                                                                                                                doPlayerSendCancel(cid, "The player has not "..money.." gps.")
                                                                                                                                end
                                                end
                                end
                end
                return TRUE
end

Creen otro .lua llamado Jail
Código:

function onUse(cid,item)

local config = {
storagePreso = 5570, -- Uma storage qualquer
toPos = {x=1016, y=1022, z=7}, -- Para aonde o player irá quando o tempo acabar
}

timePreso = getPlayerStorageValue(cid, config.storage) - os.time()

  if getPlayerStorageValue(cid, config.storagePreso) == -1 then
                doPlayerSendCancel(cid, "Você nao está preso.")
  else
                                if timePreso <= 0 then
                                  setPlayerStorageValue(cid, config.storagePreso, -1)
                                  doTeleportThing(cid, config.toPos)
                                  doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Espero que você pense bem agora, antes de cometer algum delito")
                                else
                                  doPlayerSendCancel(cid, "Você ainda tem que esperar "..timePreso.." segundos, para ser solto.")
                  end
  return TRUE
end

end

Ahora agregue lo siguiente a SuServer\Data\Actions\Actions.xml
Código:

<action actionid="1256" event="script" value="Jail.lua"/>
<action itemid="2556" event="script" value="Police.lua"/>
<action itemid="10153" event="script" value="Ladrón.lua"/>

Créditos:
Kimoszin 99.995%
Angel.Maclish 00.005% por traducir al español e ingles.
Volver arriba Ir abajo
Maniatiko™
Gamer
Gamer
Maniatiko™


Posts : 11
Points : 16
Reputation : 3
Join date : 13/07/2012

Sistema Penal ;D Empty
MensajeTema: Re: Sistema Penal ;D   Sistema Penal ;D EmptySáb Jul 14, 2012 9:28 am

Jojojjo exelente , serviria para evento pero explicalo mejor =)
Volver arriba Ir abajo
angel.maclish
Moderador Global
Moderador Global
angel.maclish


Posts : 40
Points : 54
Reputation : 0
Join date : 13/07/2012
Location : LPZ

Sistema Penal ;D Empty
MensajeTema: Re: Sistema Penal ;D   Sistema Penal ;D EmptySáb Jul 14, 2012 10:06 am

Traen x item (el que quieras en este caso 2556) y los ladrones (10153) tienen que tratar de que no los atrape la policía, si alguien de la policía atrapa a un ladrón el policía gana dinero dependiendo mas o menos de cuantos crímenes aya cometido, y si el ladrón escapa el gana dinero.
Volver arriba Ir abajo
Darkens
Administrador
Administrador
Darkens


Premios Premios : medalla del administrador

Posts : 52
Points : 163
Reputation : 2
Join date : 09/07/2012
Location : Two

Sistema Penal ;D Empty
MensajeTema: Re: Sistema Penal ;D   Sistema Penal ;D EmptySáb Jul 14, 2012 10:07 am

me encanta

Gracias por apoyar a world ots Quiero
Volver arriba Ir abajo
https://world-ots.forumotion.com
Belloz
Moderators
Moderators
Belloz


Premios Premios : MD

Posts : 70
Points : 159
Reputation : 1
Join date : 13/07/2012

Sistema Penal ;D Empty
MensajeTema: Re: Sistema Penal ;D   Sistema Penal ;D EmptySáb Jul 14, 2012 11:21 am

Exelente me Encanta Man
Volver arriba Ir abajo
angel.maclish
Moderador Global
Moderador Global
angel.maclish


Posts : 40
Points : 54
Reputation : 0
Join date : 13/07/2012
Location : LPZ

Sistema Penal ;D Empty
MensajeTema: Re: Sistema Penal ;D   Sistema Penal ;D EmptySáb Jul 14, 2012 3:49 pm

agradezco sus comentarios :), y me agrada saber que les encata.
Volver arriba Ir abajo
Kiba
Spriter
Spriter
Kiba


Gold Medals! :
Sistema Penal ;D Statue_of_Deathstrike
Statue of Death Strike
Sistema Penal ;D Statue_of_Abyssador
Statue Of Abyssador
Sistema Penal ;D Statue_of_Gnomevil
Statue Of Gnom evil
por ser el miembro del mes two

Posts : 62
Points : 139
Reputation : 19
Join date : 13/07/2012

Sistema Penal ;D Empty
MensajeTema: Re: Sistema Penal ;D   Sistema Penal ;D EmptySáb Jul 14, 2012 3:58 pm

:O esta super me gusta me recuerda cuando era niño a ladrones y polizias jeheh
Volver arriba Ir abajo
angel.maclish
Moderador Global
Moderador Global
angel.maclish


Posts : 40
Points : 54
Reputation : 0
Join date : 13/07/2012
Location : LPZ

Sistema Penal ;D Empty
MensajeTema: Re: Sistema Penal ;D   Sistema Penal ;D EmptySáb Jul 14, 2012 4:22 pm

yes, eso si eran juegos, aun que los de ahora también :D
Volver arriba Ir abajo
Guest
Invitado
avatar



Sistema Penal ;D Empty
MensajeTema: Re: Sistema Penal ;D   Sistema Penal ;D EmptyDom Jul 15, 2012 9:01 am

Jajajaja i esta chido amigo :P
Volver arriba Ir abajo
Hazardous
Administrador
Administrador
Hazardous


Posts : 38
Points : 151
Reputation : -1
Join date : 09/07/2012

Sistema Penal ;D Empty
MensajeTema: Re: Sistema Penal ;D   Sistema Penal ;D EmptyDom Jul 15, 2012 1:01 pm

Aprovado
Ninja
Volver arriba Ir abajo
https://world-ots.forumotion.com
Contenido patrocinado





Sistema Penal ;D Empty
MensajeTema: Re: Sistema Penal ;D   Sistema Penal ;D Empty

Volver arriba Ir abajo
 
Sistema Penal ;D
Volver arriba 
Página 1 de 1.
 Temas similares
-
» Root Yourots 9.31 [Sistema Vip] [Antinuke]

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