Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <amxmodx>
- #define PLUGIN "AnalizarCfgAlConectar"
- #define VERSION "1.0"
- #define AUTHOR "JCSC998"
- public plugin_init() {
- register_plugin(PLUGIN, VERSION, AUTHOR)
- }
- public client_putinserver(id) {
- set_task(6.0, "Mensaje", id)
- set_task(9.9, "Mensaje2", id)
- }
- public Mensaje(id)
- {
- new szNombre[33]
- get_user_name(id, szNombre, charsmax(szNombre))
- for (new i = 0; i < 33; ++i) chatcolor(i, "!g |NAW| !team Analizando CFG de %s !g[Estado:Analizando]", szNombre)
- }
- public Mensaje2(id)
- {
- new szNombre[33]
- get_user_name(id, szNombre, charsmax(szNombre))
- for (new i = 0; i < 33; ++i) chatcolor(i, "!g |NAW| !team %s su CFG fue analizada !g[Estado:Aprobada]", szNombre)
- }
- 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();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement