Jump to content
Sign in to follow this  
ShockPower

[REZOLVAT] Cerere plugin

Recommended Posts

Nume :Nu stiu daca este plugin dar cum fac sa blochez unel mape care sa nu inceapa


Versiune : oricare


Descriere detaliata :Scrie mai sus


Nume :Plugin de AutoMessage


Versiune :nush


Descriere detaliata :Sa apara in chat intra pe forum si dinastea 


 


 


Share this post


Link to post
Share on other sites

 

#include <amxmodx>
#include <amxmisc>

public plugin_init()
    register_logevent("r_s", 2, "1=Round_Start");
    
public r_s()
{
    new string = get_playersnum();
    new integer = get_maxplayers();
    
    ColorChat(0, "!x04NUME.SERVER.RO !x03Classic by !x04Nume");
    ColorChat(0, "!x03Online players: !x04%d/%d", string, integer);
    
    return 0;
}

stock ColorChat(const id, const input[], any:...) {
    new count = 1, players[32];
    static msg[191];
    vformat(msg, 190, input, 3);
    
    replace_all(msg, 190, "!x04", "^4");
    replace_all(msg, 190, "!x03", "^3");
    
    if(id) players[0] = id;
    else get_players(players, count, "ch"); {
        for(new i = 0; i < count; i++) {
            if(is_user_connected(players[i])) {
                message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
                write_byte(players[i]);
                write_string(msg);
                message_end();
            }
        }
    }
}

Share this post


Link to post
Share on other sites

Nici un interes .

LOCK !

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...