rssSistema de Oxigeno (sistema_de_oxigeno)
Category: | script |
---|---|
Author(s): | aldaire |
Downloads: | 207 |
Rate: | You need to be logged in to vote |
Rating: | 1 (1 Vote) |
Description:
Sistema de Oxigeno por Jakepankeke
=======================================================
Descripción:
Este es un sistema de oxigeno extra para los jugadores, tienes un contador de oxigeno extra donde te indica cuanto tiempo tienes para respirar. Esto puede ser útil para implementarlo en servidores RP como otros modos de juego donde pueda ser implementado.
=======================================================
¿Cómo usarlo?
El contador de oxigeno solo descenderá cuando empieces a bucear y parpadeará cuando te resta solo 60 segundos (eso para avisar que tienes poco tiempo de buceo).
=======================================================
¿Cómo agregarlo a mis recursos - scripts?
Sintaxis:
Como exports (server)
exports.Sistema_de_oxigeno:Giveoxygen(thePlayer, tiempo_en_segundos) : Dar oxigeno en segundos
exports.Sistema_de_oxigeno:Getoxygen(thePlayer) : Obtienes el nivel de oxigeno del jugador
exports.Sistema_de_oxigeno:Resetoxygen(thePlayer) : Reinicias el nivel de oxigeno del jugador
Como función (server)
Giveoxygen(thePlayer, tiempo_en_segundos) : Dar oxigeno en segundos
Getoxygen(thePlayer) : Obtienes el nivel de oxigeno del jugador
Resetoxygen(thePlayer) : Reinicias el nivel de oxigeno del jugador
Link donde estoy explicando esto un poco más a fondo (en español): https://forum.mtasa.com/topic/129747-aporte-sistema-de-oxigeno/
Por el momento el recurso estará compilado, pero próximamente lo liberaré. De todas formas pueden contactarme por el foro si ocurre un error.
--ENGLISH--
Oxygen System by Jakepankeke
================================================= =====
Description:
This is an extra oxygen system for players, you have an extra oxygen counter where it tells you how long you have to breathe. This can be useful to implement it in RP servers as other game modes where it can be implemented.
================================================= =====
How to use it?
The oxygen meter will only go down when you start diving and will flash when you only have 60 seconds left (that is to warn you that you have little diving time).
================================================= =====
How to add it to my resources - scripts?
Syntax:
As exports (server)
exports.Oxygen_system: Giveoxygen (thePlayer, time_in_seconds): Give oxygen in seconds
exports.Oxygen_system: Getoxygen (thePlayer): Get the player's oxygen level
exports.Oxygen_system: Resetoxygen (thePlayer): Resets the player's oxygen level
As a function (server)
Giveoxygen (thePlayer, time_in_seconds): Give oxygen in seconds
Getoxygen (thePlayer): You get the oxygen level of the player
Resetoxygen (thePlayer): Resets the player's oxygen level
Link where I am explaining this a little more thoroughly (in Spanish): https://forum.mtasa.com/topic/129747-aporte-sistema-de-oxigeno/
At the moment the resource will be compiled, but I will release it soon. Anyway you can contact me through the forum if an error occurs....
(more)
=======================================================
Descripción:
Este es un sistema de oxigeno extra para los jugadores, tienes un contador de oxigeno extra donde te indica cuanto tiempo tienes para respirar. Esto puede ser útil para implementarlo en servidores RP como otros modos de juego donde pueda ser implementado.
=======================================================
¿Cómo usarlo?
El contador de oxigeno solo descenderá cuando empieces a bucear y parpadeará cuando te resta solo 60 segundos (eso para avisar que tienes poco tiempo de buceo).
=======================================================
¿Cómo agregarlo a mis recursos - scripts?
Sintaxis:
Como exports (server)
exports.Sistema_de_oxigeno:Giveoxygen(thePlayer, tiempo_en_segundos) : Dar oxigeno en segundos
exports.Sistema_de_oxigeno:Getoxygen(thePlayer) : Obtienes el nivel de oxigeno del jugador
exports.Sistema_de_oxigeno:Resetoxygen(thePlayer) : Reinicias el nivel de oxigeno del jugador
Como función (server)
Giveoxygen(thePlayer, tiempo_en_segundos) : Dar oxigeno en segundos
Getoxygen(thePlayer) : Obtienes el nivel de oxigeno del jugador
Resetoxygen(thePlayer) : Reinicias el nivel de oxigeno del jugador
Link donde estoy explicando esto un poco más a fondo (en español): https://forum.mtasa.com/topic/129747-aporte-sistema-de-oxigeno/
Por el momento el recurso estará compilado, pero próximamente lo liberaré. De todas formas pueden contactarme por el foro si ocurre un error.
--ENGLISH--
Oxygen System by Jakepankeke
================================================= =====
Description:
This is an extra oxygen system for players, you have an extra oxygen counter where it tells you how long you have to breathe. This can be useful to implement it in RP servers as other game modes where it can be implemented.
================================================= =====
How to use it?
The oxygen meter will only go down when you start diving and will flash when you only have 60 seconds left (that is to warn you that you have little diving time).
================================================= =====
How to add it to my resources - scripts?
Syntax:
As exports (server)
exports.Oxygen_system: Giveoxygen (thePlayer, time_in_seconds): Give oxygen in seconds
exports.Oxygen_system: Getoxygen (thePlayer): Get the player's oxygen level
exports.Oxygen_system: Resetoxygen (thePlayer): Resets the player's oxygen level
As a function (server)
Giveoxygen (thePlayer, time_in_seconds): Give oxygen in seconds
Getoxygen (thePlayer): You get the oxygen level of the player
Resetoxygen (thePlayer): Resets the player's oxygen level
Link where I am explaining this a little more thoroughly (in Spanish): https://forum.mtasa.com/topic/129747-aporte-sistema-de-oxigeno/
At the moment the resource will be compiled, but I will release it soon. Anyway you can contact me through the forum if an error occurs....
(more)
Version history
Version | Publish Date | Changes | |
---|---|---|---|
0.9.0 | 2021-03-08 03:54:13 | First public release | Download |