[TTT] Plugin para evitar confusiones

Para que pongas esas cositas que queres que esten en el servidor
Responder
Avatar de Usuario
Legend ;
Nivel 200
Nivel 200
Mensajes: 201
Registrado: 06 May 2017, 23:35
Ubicación: GBA SUR.
Contactar:

[TTT] Plugin para evitar confusiones

Mensaje por Legend ; »

Que tal pipol, hoy les traigo otro plugin que encontre por ahi que seria bueno q implementen

Código: Seleccionar todo

#include <amxmodx>
#include <ttt>

#define PLUGIN "[TTT] Disconnect Info"
#define VERSION "1.0"
#define AUTHOR "iathuzave"


public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR);
    
    // Add your code here...
}

public client_disconnect(id)
{
    new Name[32]; get_user_name(id, Name, charsmax(Name));
    
    client_print(0, print_chat, "%s ha salido del servidor y era %L!", Name, id, special_names[ttt_get_alivestate(id)]);
} 

Sirve para cuando un usuario se desconecta diga que era (Inocente/Traidor/DT) lo publico porque me a pasado mas de una vez que alguien mata a otro usuario y como nose que era le doy ban por kitear y hacer un "Fk" que en realidad no era, espero que lo implementen :whatever:

PD: Si por alguna razon da paja compilarlo lo paso por .rar ya compilado xd
Legend Imagen
Avatar de Usuario
Cande.-
Nivel 440
Nivel 440
Mensajes: 458
Registrado: 25 Mar 2017, 16:27
Ubicación: bs as. Argentina
xhair’s avatar
Loading…

Re: [TTT] Plugin para evitar confusiones

Mensaje por Cande.- »

Esta buena la idea, mas q nada para no dar mal los bans y evitar conflictos jajaja
KillaH 👑💋
Avatar de Usuario
f0rged
Nivel 19
Nivel 19
Mensajes: 19
Registrado: 31 Ene 2017, 20:52
Ubicación: Montevideo, Uruguay

Re: [TTT] Plugin para evitar confusiones

Mensaje por f0rged »

Con colorchat quedaría más lindo(?)
"If you wish to see the truth then hold no opinions"
Avatar de Usuario
Legend ;
Nivel 200
Nivel 200
Mensajes: 201
Registrado: 06 May 2017, 23:35
Ubicación: GBA SUR.
Contactar:

Re: [TTT] Plugin para evitar confusiones

Mensaje por Legend ; »

Código: Seleccionar todo

#include <amxmodx>
#include <ttt>

#define PLUGIN "[TTT] Disconnect Info"
#define VERSION "1.0"
#define AUTHOR "iathuzave"


public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR);
    
    // Add your code here...
}

public client_disconnect(id)
{
    new Name[32]; get_user_name(id, Name, charsmax(Name));
    
    chatcolor(0, "!g%s !yha salido del servidor y era !team%L!g!", Name, id, special_names[ttt_get_alivestate(id)]);
} 
stock chatcolor(id, const input[], any:...)
{
    static szMsg[191], msgSayText;
    
    if (!msgSayText)
        msgSayText = get_user_msgid("SayText");
    
    vformat(szMsg, 190, input, 3);

    replace_all(szMsg, 190, "!g", "^4");
    replace_all(szMsg, 190, "!y", "^1");
    replace_all(szMsg, 190, "!team", "^3");
    
    message_begin(id ? MSG_ONE_UNRELIABLE : MSG_BROADCAST, msgSayText, .player = id);
    write_byte(id ? id : 33);
    write_string(szMsg);
    message_end();
} 
:interesting:
Legend Imagen
Avatar de Usuario
f0rged
Nivel 19
Nivel 19
Mensajes: 19
Registrado: 31 Ene 2017, 20:52
Ubicación: Montevideo, Uruguay

Re: [TTT] Plugin para evitar confusiones

Mensaje por f0rged »

Legend ; Admin o Ex escribió: 26 Ago 2017, 18:08

Código: Seleccionar todo

#include <amxmodx>
#include <ttt>

#define PLUGIN "[TTT] Disconnect Info"
#define VERSION "1.0"
#define AUTHOR "iathuzave"


public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR);
    
    // Add your code here...
}

public client_disconnect(id)
{
    new Name[32]; get_user_name(id, Name, charsmax(Name));
    
    chatcolor(0, "!g%s !yha salido del servidor y era !team%L!g!", Name, id, special_names[ttt_get_alivestate(id)]);
} 
stock chatcolor(id, const input[], any:...)
{
    static szMsg[191], msgSayText;
    
    if (!msgSayText)
        msgSayText = get_user_msgid("SayText");
    
    vformat(szMsg, 190, input, 3);

    replace_all(szMsg, 190, "!g", "^4");
    replace_all(szMsg, 190, "!y", "^1");
    replace_all(szMsg, 190, "!team", "^3");
    
    message_begin(id ? MSG_ONE_UNRELIABLE : MSG_BROADCAST, msgSayText, .player = id);
    write_byte(id ? id : 33);
    write_string(szMsg);
    message_end();
} 
:interesting:
Y un prefix? ah re detallista era
"If you wish to see the truth then hold no opinions"
Avatar de Usuario
Cande.-
Nivel 440
Nivel 440
Mensajes: 458
Registrado: 25 Mar 2017, 16:27
Ubicación: bs as. Argentina
xhair’s avatar
Loading…

Re: [TTT] Plugin para evitar confusiones

Mensaje por Cande.- »

Legend ; Admin o Ex escribió: 26 Ago 2017, 18:08

Código: Seleccionar todo

#include <amxmodx>
#include <ttt>

#define PLUGIN "[TTT] Disconnect Info"
#define VERSION "1.0"
#define AUTHOR "iathuzave"


public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR);
    
    // Add your code here...
}

public client_disconnect(id)
{
    new Name[32]; get_user_name(id, Name, charsmax(Name));
    
    chatcolor(0, "!g%s !yha salido del servidor y era !team%L!g!", Name, id, special_names[ttt_get_alivestate(id)]);
} 
stock chatcolor(id, const input[], any:...)
{
    static szMsg[191], msgSayText;
    
    if (!msgSayText)
        msgSayText = get_user_msgid("SayText");
    
    vformat(szMsg, 190, input, 3);

    replace_all(szMsg, 190, "!g", "^4");
    replace_all(szMsg, 190, "!y", "^1");
    replace_all(szMsg, 190, "!team", "^3");
    
    message_begin(id ? MSG_ONE_UNRELIABLE : MSG_BROADCAST, msgSayText, .player = id);
    write_byte(id ? id : 33);
    write_string(szMsg);
    message_end();
} 
:interesting:
Q pillo jajajaa
KillaH 👑💋
Avatar de Usuario
Legend ;
Nivel 200
Nivel 200
Mensajes: 201
Registrado: 06 May 2017, 23:35
Ubicación: GBA SUR.
Contactar:

Re: [TTT] Plugin para evitar confusiones

Mensaje por Legend ; »

Qui pilli jijiji
Legend Imagen
Avatar de Usuario
bear_1337
Nivel 100
Nivel 100
Mensajes: 104
Registrado: 07 Jun 2017, 21:22
Ubicación: La Boca

Re: [TTT] Plugin para evitar confusiones

Mensaje por bear_1337 »

buen aporte estaria muy bueno
Juegos de azar y mujerzuelas :juegosdeazarymujerzuelas:
Avatar de Usuario
Cande.-
Nivel 440
Nivel 440
Mensajes: 458
Registrado: 25 Mar 2017, 16:27
Ubicación: bs as. Argentina
xhair’s avatar
Loading…

Re: [TTT] Plugin para evitar confusiones

Mensaje por Cande.- »

Legend ; Admin o Ex escribió: 26 Ago 2017, 18:44 Qui pilli jijiji
No te enoje ndeaaah
KillaH 👑💋
Avatar de Usuario
SkuL.-=)
VIP Rojo
VIP Rojo
Nivel 15
Nivel 15
Mensajes: 15
Registrado: 15 Ene 2016, 18:12

Re: [TTT] Plugin para evitar confusiones

Mensaje por SkuL.-=) »

:sweetjesus: Matenme
Avatar de Usuario
Legend ;
Nivel 200
Nivel 200
Mensajes: 201
Registrado: 06 May 2017, 23:35
Ubicación: GBA SUR.
Contactar:

Re: [TTT] Plugin para evitar confusiones

Mensaje por Legend ; »

Imagen
Legend Imagen
Avatar de Usuario
SI | german
Directivo Cyan
Directivo Cyan
Nivel 2700
Nivel 2700
Mensajes: 2721
Registrado: 05 Feb 2015, 09:36
Ubicación: Ciudad de Buenos Aires
Contactar:

Insignia Moderador

Insignia Control

german-german’s avatar
Loading…

Re: [TTT] Plugin para evitar confusiones

Mensaje por SI | german »

Instalado y no probado

Fijense
Reglas del foro denuncias: rules
Reglas de administración: viewtopic.php?f=5&t=11
Reglas de usuario: viewtopic.php?f=5&t=3
Avatar de Usuario
Cande.-
Nivel 440
Nivel 440
Mensajes: 458
Registrado: 25 Mar 2017, 16:27
Ubicación: bs as. Argentina
xhair’s avatar
Loading…

Re: [TTT] Plugin para evitar confusiones

Mensaje por Cande.- »

Yo no estoy en la pc, pero si pueden fijarse joya
KillaH 👑💋
Responder