Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 8,048
» Latest member: speed98
» Forum threads: 2,463
» Forum posts: 12,480

Full Statistics

Online Users
There are currently 170 online users.
» 0 Member(s) | 166 Guest(s)
Applebot, Bing, Google, Yandex

Latest Threads
Samp development
Forum: Programming
Last Post: pmemorex2016
3 hours ago
» Replies: 0
» Views: 16
Samp development
Forum: Chat
Last Post: pmemorex2016
3 hours ago
» Replies: 0
» Views: 14
⊁ Temu Referans Kodu [''A...
Forum: Tech
Last Post: speed98
5 hours ago
» Replies: 0
» Views: 18
⊁ Temu kupon kodu [''ALH1...
Forum: Tech
Last Post: speed98
5 hours ago
» Replies: 0
» Views: 11
["Yeni"] ⊁ Temu Kupon Kod...
Forum: Tech
Last Post: speed98
5 hours ago
» Replies: 0
» Views: 11
["En İyi"] ⊁ Temu Kupon K...
Forum: Tech
Last Post: speed98
6 hours ago
» Replies: 0
» Views: 10
[▴2026▿] ⊁ Temu "Türkiye"...
Forum: Tech
Last Post: speed98
6 hours ago
» Replies: 0
» Views: 11
[▴Özel▿] ⊁ Temu Kupon Kod...
Forum: Tech
Last Post: speed98
6 hours ago
» Replies: 0
» Views: 10
⊁ Temu Kupon Kodu [''ALH1...
Forum: Tech
Last Post: speed98
6 hours ago
» Replies: 0
» Views: 10
Codigo cupao Temu ⩺ [[«AL...
Forum: Tech
Last Post: speed98
6 hours ago
» Replies: 0
» Views: 10

 
Star Una pregunta de YOUTUBE
Posted by: Soichiro - 2019-04-21, 05:36 AM - Forum: Spanish/Español - Replies (7)

Chicos saben tengo un canal de youtube y muy pronto podre monetilizarlo.

Pero lo que me impide hacerlo es que soy de venezuela he estado leyendo gu?as y dem?s pero no me confi? alguien que sea de venezuela y me explique como logro monetizar alg?n canal recientemente. Hay un youtuber maikplay es de venezuela y tiene su canal monetizado.

?Alg?n tip?


  [Tutorial] Sistema simple de Log's
Posted by: Screw - 2019-04-21, 05:11 AM - Forum: Programación - Replies (2)

Buenas comunidad de Burgershot, hoy les vengo a compartir un sistema de log's simple pero efectivo que casi siempre utilizo en la creación de algún gamemode y así tener mejor controlado lo que sucede dentro del servidor cuando no me encuentro en él. Todo lo explicaré paso por paso en el código, creo que es la forma más efectiva de entenderlo, así que empecemos:

PHP Code:
stock Log(const nombre[], const texto[]){ // Primero definimos la función que utilizaremos para guardar los Logs, en este caso "Log(nombre[], texto[])"

      /* Los parámetros son muy sencillos, "nombre" es el nombre del archivo en el que guardaremos los logs,
      se puede utilizar también para separar cada archivo y así poder tener varios archivos con distintos tipos de
      logs, como login, registro, uso de comandos administrativos, kicks, bans, etc. y "texto" es lo que guardaremos
      en el archivo, es decir, el suceso. */

      new dir[32], File:arctxt[256]; // dir es el directorio donde guardaremos nuestros logs, arc nuestra variable de archivo y txt[] un string que necesitaremos para dar formato
      new log_Dlog_Mlog_A// Las variables log guardarán la fecha y hora de los sucesos. Cada inicial representa su contenido, D(ia) - M(es) - A(ño)
      new log_Seglog_Minlog_Hor// Misma explicación que antes pero ahora con hora, minutos y segundos

      getdate(log_Alog_Mlog_D); // Con esta función obtenemos la fecha actual y la almacenamos en sus respectivas variables declaradas anteriormente
      gettime(log_Horlog_Minlog_Seg); // Misma explicación que antes pero ahora obteniendo la hora actual

      format(dirsizeof(dir), "/Logs/%s.log"nombre); // Acá especificamos dónde guardaremos los logs, en este caso, en /scriptfiles/Logs/. como dije anteriormente, la constante nombre tendrá el nombre           del archivo
      format(txtsizeof(txt), "[%02d/%02d/%d|%02d:%02d:%02d] %s\r\n"log_Dlog_Mlog_A,
      log_Horlog_Minlog_Segtexto); // acá procedemos a dar formato:

      /* txt es la variable donde se guardará la línea que se escribirá en el archivo del log, yo la puse con el siguiente formato:
      "[DD/MM/AAA|HH:MM:SS] Texto a guardar en el archivo" - el "%02d" es utilizado para 'rellenar' por así decirlo el número
      entero que sería conformado por un solo dígito, haciendo que sean dos, por ejemplo: en vez de que la fecha quede de
      esta manera: "3/4/2019" quedaría así "03/04/2019", dando un mejor aspecto al lector. "%s" es la constante texto, la línea
      que se guardará en nuestro archivo */

if(!fexist(dir)) // Si el archivo no existe en el directorio entonces...
      arc fopen(dirio_write); // se genera un nuevo archivo utilizando io_write con el nombre especificado en los parámetros
else // pero si ya existe...
      arc fopen(dirio_append); // se abre el archivo y simplemente añadiremos una nueva línea a ese archivo utilizando io_append

      printf("» [LOG : %s] %s"nombretexto); // Aquí simplemente mostramos el log por consola también...
      fwrite(arctxt); // Escribimos en nuestro archivo la variable texto a la cual le dimos formato anteriormente
      fclose(arc); // Acá se cierra el archivo, muy importante que cada vez que se abre un archivo sea para lectura y/o escritura este sea cerrado
      return 1;


Y con eso, para guardar un evento en nuestro servidor simplemente tendríamos que invocar a la función de esta manera:

PHP Code:
new string[128], nombre[MAX_PLAYER_NAME];
GetPlayerName(playeridnombresizeof(nombre));
format(stringsizeof(string), "%s ha entrado en el servidor"nombre);
Log("login"string); 

Lo cual generaría un archivo de texto llamado "login.txt" que tendría una línea similar a esta:

PHP Code:
[21/04/2019|01:08:50Screw ha entrado en el servidor 

También se puede utilizar para guardar eventos de comandos importantes y delicados en los servidores, por ejemplo, si un administrador en un servidor roleplay da dinero, si un usuario es kickeado, baneado, etc. siempre son informes clave a la hora de tomar decisiones.

Como especifiqué en el título, es un sistema simple pero efectivo, funciona y espero que le sea de ayuda o aprendizaje para alguien.
Un saludo!


Information Certified ISTQB Software testing Foundation
Posted by: hastlaking - 2019-04-20, 11:30 PM - Forum: Life - No Replies

Hello Community. i have something interesting to share with you.



Back in 2k17. i was sent by the Employment Agency of Republic Macedonia "Past Republic Of Macedonia", Future Northen Macedonia on a software testing foundation course for `ISTQB` i do not know what it is. it has pasted almost 2 years. later that period of time the Employment agency transferred me to a start-up business idea witch i lost interest for it. now i dig into my personal archive looking for some documents and the idea hit'ed me to share it with the community.



please share your best opinions with me.

Best regards <hastlaking> known as S.A. by initials


  open.mp
Posted by: Heaven - 2019-04-20, 11:26 PM - Forum: Questions and Suggestions - Replies (4)

What language will open.mp use to write a mod?


  IV.Digital - Community meeting on TeamSpeak! (Hour from now)
Posted by: Jack F. Dunford - 2019-04-20, 10:54 PM - Forum: General Discussions - No Replies

We'll?discussall things IV.Digital and what to expect from the OpenMP DM server, as well as other game servers--and we're inviting people?outside the?community to participate!





The?Teamspeak IP is "ts3.iv.digital" and the meeting commences at 8 PM Eastern today (an hour from this post time)



P.s. You're welcome to take 2-4 shots of your favorite liquor before attending.


  Trucking Server
Posted by: solstice - 2019-04-20, 09:08 PM - Forum: General Discussions - Replies (17)

Hey, I have decided to create a new trucking server gamemode from scratch, I need some ideas so I can finish and release it on this forum.



I was thinking to livestream it on twitch too, but not sure if I should do that. There's a poll, so you can vote.



Post your ideas and I'll implement some if I find them interesting & useful.


  SA-MP Chatlog organizer.
Posted by: BrunoBM16 - 2019-04-20, 08:04 PM - Forum: Releases - Replies (1)

An ASI which will automatically organize chat logs for you.



Rather than just creating a chatlog.txt file, the client will create the file with date and time as name (year-month-day hour.minutes.seconds.txt), on a folder called "Chatlogs" which will be located on your?GTA San Andreas User Files\SAMP folder.



Supported versions: 0.3.7-R1, 0.3.7-R2, 0.3.7-R3 and 0.3.DL



Download:?here

Source code:?here


Smile Textdraw show rule of sv RP
Posted by: #Beer - 2019-04-20, 04:09 PM - Forum: Filterscripts - No Replies




Link download & password?here.



Usage: Press "H" key

In file server.cfg add?useartwork 1





Author: FrogKid from PLAYGTA TEAM


  [Showcase/Mapp] Arab mapping in process
Posted by: Apex - 2019-04-20, 04:05 PM - Forum: Videos and Screenshots - Replies (9)

My contact on discord is #Apex0687

This mapp is for a military server.



on the map there are things that need to be deleted, therefore, the environment is a bit bad.



[Image: sa-mp-000.png]

[Image: sa-mp-001.png]

[Image: sa-mp-002.png]

[Image: sa-mp-003.png]

[Image: sa-mp-004.png]

[Image: sa-mp-005.png]

[Image: sa-mp-006.png]

[Image: sa-mp-007.png]

[Image: sa-mp-008.png]

[Image: sa-mp-009.png]


[Image: sa-mp-010.png]

[Image: sa-mp-011.png]

[Image: sa-mp-012.png]

I understand that I must erase things from the environment and make it a little more destroyed, I will do that, there will be places which can be accessed, which are many.



[Image: sa-mp-013.png]


  Fixes from SAMP Addon
Posted by: iReal Worlds - 2019-04-20, 03:33 PM - Forum: Questions and Suggestions - Replies (6)

I would like to suggest that all the fixes from the SAMP addon mod (https://gtaforums.com/topic/760017-samp-addon/) be implemented in the version which adds a client as well as a server.