Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* PLUGIN 2015 Year */
- #include <amxmodx>
- new g_Url;
- new const PLUGIN[3][]={
- "Connect Info",
- "2.2.8",
- "Seroff"
- }
- public plugin_init()
- {
- register_plugin(PLUGIN[0], PLUGIN[1], PLUGIN[2])
- g_Url = register_cvar("sv_url","");
- }
- public client_connect(id)
- {
- new s_Url[128]
- get_pcvar_string(g_Url, s_Url, sizeof(s_Url)-1)
- con_print(id,"========================================");
- con_print(id,"* Внимание: на сервере сильнейшая защита");
- con_print(id,"* Запрещено использовать читы");
- con_print(id,"* При нарушении правил бан!");
- con_print(id,"* Наш сайт: %s", s_Url);
- con_print(id,"* Приятной игры!");
- con_print(id,"========================================");
- }
- stock con_print(id,const msg_content[],any:...){
- new msg[192],MSG[192];
- vformat(msg, charsmax(msg), msg_content, 3);
- formatex(MSG,charsmax(MSG),"%s^n",msg);
- message_begin(MSG_ONE, 8, {0,0,0}, id);
- write_string(MSG);
- message_end();
- }
Advertisement
Add Comment
Please, Sign In to add comment