Raised This Month: $51 Target: $400
 12% 

Admin Super Gag


Post New Thread Reply   
 
Thread Tools Display Modes
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 02-14-2009 , 18:01   Re: Admin Super Gag
Reply With Quote #21

Uh... Will script/update it 2morrow finally. Ah.. Long time wasn't working on this one.
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
Old 04-03-2009, 07:47
danli
This message has been deleted by danli.
Owyn
Veteran Member
Join Date: Nov 2007
Old 04-09-2009 , 08:50   Re: Admin Super Gag
Reply With Quote #22

why does this uses prethink function? O_o only to make text "your gag expired"?
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
GameGuard
Junior Member
Join Date: Sep 2007
Old 04-18-2009 , 09:46   Re: Admin Super Gag
Reply With Quote #23

All works good but, if amx_gag_by_authid "1", Admin can't ungag everybody who gain gag. : "[AMX] Error: blablabla".

If amx_gag_by_authid "0" it's ok player can be ungag.

Can u fix that on "1"? Auth it's reccomend on steam servers.
__________________
Maybe someone can check this? click! Help pls

Last edited by GameGuard; 04-19-2009 at 07:49.
GameGuard is offline
IlDiavolo
BANNED
Join Date: Jun 2009
Old 06-12-2009 , 18:15   Re: Admin Super Gag III NEEDDD HELP !!!
Reply With Quote #24

hI all i download this plugin is wonderfuull but i have amxmodx 1.8.1

when i gag one person gags all person

i have one server steam /non steam

end when i gag one steam person gags all steam on server


when i gag one non steam person gags all non setam person


please help me becouse i needd this plugin for my sersver is the best prugin i ebver found ...


please help me to fix it ...

naw i shiw you the code of plugin i have

please help me ho done this plugin is one genius please help me fixit for my server

i whait !!!!
############################################# ##


Code:
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <time>
#define PLUGIN "Super Gag"
#define VERSION "1.5"
#define AUTHOR "Numb"
#define GAGGED_SAY 1
#define GAGGED_SAY_TEAM 2
#define GAGGED_VOICE 3
#define GAGGED_NAME 4
#define GAG_TIME_LIMIT SECONDS_IN_DAY
new dataDir[64];
new amx_defaut_gag_time;
new amx_gag_by_authid;
new bool:wasgagged[33];
new bool:wasmuted[33];
public plugin_init()
{
 register_plugin(PLUGIN, VERSION, AUTHOR);
 register_dictionary("common.txt");
 register_dictionary("time.txt");
 register_concmd("amx_gag", "cmdGag", ADMIN_LEVEL_B, "<name or #userid> <time (1m/60)> <flags abcd> [reason]");
 register_concmd("amx_ungag", "cmdUnGag", ADMIN_LEVEL_B, "<name or #userid / ip or authid> <ip/authid=1> [reason]");
 register_concmd("say", "cmdSay", -1, " - check gagged player");
 register_concmd("say_team", "cmdSayTeam", -1, " - check gagged player");
 amx_defaut_gag_time = register_cvar("amx_defaut_gag_time", "20");
 amx_gag_by_authid = register_cvar("amx_gag_by_authid", "1")
 register_message(get_user_msgid("SayText"), "block_namechange_msg");
 get_datadir(dataDir, 63);
}
public plugin_modules()
 require_module("engine");
public cmdGagInfo(id)
{
 new filename[128], playerip[32], gagtime[128], fileDir[96];
 fileDir = get_gagsdir();
 if( get_pcvar_num(amx_gag_by_authid) )
 {
  get_user_authid(id, playerip, 31);
  replace_all(playerip, 31, ":", "_");
  format(filename, 127, "%s/%s.txt", fileDir, playerip);
 }
 else
 {
  get_user_ip(id, playerip, 31, 1);
  format(filename, 127, "%s/%s.txt", fileDir, playerip);
  if( !file_exists(filename) )
  {
   new server_ip[32];
   get_user_ip(0, server_ip, 31, 1);
   if( equal(playerip, server_ip) )
    format(filename, 127, "%s/loopback.txt", fileDir);
   else if( equal(playerip, "loopback") )
    format(filename, 127, "%s/%s.txt", fileDir, server_ip);
  }
 }
 
 if( file_exists(filename) )
 {
  new gag_say, gag_say_team, gag_voice, gag_name, authid_gags = get_pcvar_num(amx_gag_by_authid);
  gag_say = is_user_gagged(id, GAGGED_SAY, authid_gags);
  gag_say_team = is_user_gagged(id, GAGGED_SAY_TEAM, authid_gags);
  gag_voice = is_user_gagged(id, GAGGED_VOICE, authid_gags);
  gag_name = is_user_gagged(id, GAGGED_NAME, authid_gags);
  if( gag_say && gag_say_team )
   client_print(id, print_chat, "* You are gagged by: say(_team)%s%s.", (gag_voice) ? " voice" : "", (gag_name) ? " namechange" : "");
  else
   client_print(id, print_chat, "* You are gagged by:%s%s%s%s.", (gag_say) ? " say" : "", (gag_say_team) ? " say_team" : "", (gag_voice) ? " voice" : "", (gag_name) ? " namechange" : "");
  
  new reason[64], txtsize, time;
  read_file(filename, 7, reason, 63, txtsize);
  if( reason[0] )
   client_print(id, print_chat, "* Reason why you are gagged: %s.", reason);
  else
   client_print(id, print_chat, "* Reason why you are gagged: Unspecified.");
   
  read_file(filename, 1, gagtime, 127, txtsize);
  time = str_to_num(gagtime)-get_systime(1);
  client_print(id, print_chat, "* You will be ungagged in %s.", convert_time(time));
 }
 else
  client_print(id, print_chat, "* You are not gagged.");
}
public cmdSay(id)
{
 new text[192], gagged, text_len;
 read_argv(1, text, 191);
 text_len = strlen(text);
 if( text_len > 2 )
 {
  if( text[0] == '"' && text[text_len-1] == '"' )
   format(text, text_len-2, "%s", text[1]);
 }
 
 gagged = is_user_gagged(id, GAGGED_SAY, get_pcvar_num(amx_gag_by_authid));
 if( (equal(text, "/gaginfo") || equal(text, ".gaginfo")) && read_argc() == 2 )
 {
  cmdGagInfo(id);
  if( gagged )
   return PLUGIN_HANDLED;
 }
 if( gagged )
 {
  client_print(id, print_chat, "* You are gagged. Type /gaginfo, 4 more information.");
  return PLUGIN_HANDLED;
 }
 return PLUGIN_CONTINUE;
}
public cmdSayTeam(id)
{
 new text[192], gagged, text_len;
 read_argv(1, text, 191);
 text_len = strlen(text);
 if( text_len > 2 )
 {
  if( text[0] == '"' && text[text_len-1] == '"' )
   format(text, text_len-2, "%s", text[1]);
 }
 
 gagged = is_user_gagged(id, GAGGED_SAY_TEAM, get_pcvar_num(amx_gag_by_authid));
 if( (equal(text, "/gaginfo") || equal(text, ".gaginfo")) && read_argc() == 2 )
 {
  cmdGagInfo(id);
  if( gagged )
   return PLUGIN_HANDLED;
 }
 if( gagged )
 {
  client_print(id, print_chat, "* You are gagged. Type /gaginfo, 4 more information.");
  return PLUGIN_HANDLED;
 }
 return PLUGIN_CONTINUE;
}
public client_putinserver(id)
{
 set_task(1.0, "client_connected", id);
 if( is_user_gagged(id, 0, get_pcvar_num(amx_gag_by_authid)) )
  wasgagged[id] = true;
 else
  wasgagged[id] = false;
}
public client_connected(id)
{
 if( is_user_gagged(id, GAGGED_VOICE, get_pcvar_num(amx_gag_by_authid)) )
 {
  client_cmd(id, "-voicerecord");
  set_speak(id, SPEAK_MUTED);
  wasmuted[id] = true;
 }
 else
  wasmuted[id] = false;
 check_gagged_name(id, 0);
}
public block_namechange_msg(msgid, msgdest, msgent)
{
 new msgtype[32];
 get_msg_arg_string(2, msgtype, 31);
 if( equal(msgtype, "#Cstrike_Name_Change") )
 {
  new player, newname[32], custom_newname[32];
  get_msg_arg_string(4, newname, 31);
  for( player = 1; player < 33; player++ )
  {
   if( is_valid_ent(player) && is_user_connected(player) && is_user_alive(player) )
   {
    custom_newname = "";
    get_user_info(player, "name", custom_newname, 31);
    if( equal(newname, custom_newname) )
     break;
   }
   
   if( player == 32 )
   {
    player = 0;
    break;
   }
  }
  
  if( player )
  {
   if( is_user_gagged(player, GAGGED_NAME, get_pcvar_num(amx_gag_by_authid)) )
    return PLUGIN_HANDLED;
  }
 }
 return PLUGIN_CONTINUE;
}
public client_infochanged(id)
{
 if( is_user_gagged(id, GAGGED_NAME, get_pcvar_num(amx_gag_by_authid)) )
 {
  check_gagged_name(id, 1);
  return PLUGIN_HANDLED;
 }
 return PLUGIN_CONTINUE;
}
public check_gagged_name(id, namechange)
{
 new authid_gags = get_pcvar_num(amx_gag_by_authid);
 if( is_user_gagged(id, GAGGED_NAME, authid_gags) )
 {
  new filename[128], fileDir[96], playerip[32], gaggedname[32], newname[32];
  fileDir = get_gagsdir();
  if( authid_gags )
  {
   get_user_authid(id, playerip, 31);
   replace_all(playerip, 31, ":", "_");
  }
  else
   get_user_ip(id, playerip, 31, 1);
  
  format(filename, 127, "%s/%s.txt", fileDir, playerip);
  
  if( !file_exists(filename) && !authid_gags )
  {
   new server_ip[32];
   get_user_ip(0, server_ip, 31, 1);
   if( equal(playerip, server_ip) )
    format(filename, 127, "%s/loopback.txt", fileDir);
   else if( equal(playerip, "loopback") )
    format(filename, 127, "%s/%s.txt", fileDir, server_ip);
   
   if( !file_exists(filename) )
    return;
  }
  
  new txtsize;
  read_file(filename, 5, gaggedname, 31, txtsize);
  get_user_info(id, "name", newname, 31);
  
  if( !equal(gaggedname, newname) )
  {
   if( namechange )
   {
    client_print(id, print_chat, "* You are geged. You cannot change your name.");
    set_user_info(id, "name", gaggedname);
   }
   else
    client_cmd(id, "name ^"%s^"", gaggedname);
  }
 }
}
public client_PreThink(id)
{
 if( is_user_connected(id) )
 {
  static authid_gags;
  authid_gags = get_pcvar_num(amx_gag_by_authid);
  if( !is_user_gagged(id, GAGGED_VOICE, authid_gags) && wasmuted[id] )
  {
   set_speak(id, SPEAK_NORMAL);
   wasmuted[id] = false;
  }
  
  if( is_user_gagged(id, 0, authid_gags) )
   wasgagged[id] = true;
  else if( wasgagged[id] )
  {
   wasgagged[id] = false;
   if( get_user_time(id, 0) > 2 )
    client_print(id, print_chat, "* You are ungagged.");
  }
 }
}
public cmdGag(id, level, cid)
{
 if( !cmd_access(id, level, cid, 2) )
  return PLUGIN_HANDLED
 new target[32], player;
 read_argv(1, target, 31);
 player = cmd_target(id, target, 9);
 
 if( !player)
  return PLUGIN_HANDLED;
 
 new sgagtime[32], flags[32], reason[64], gagtime;
 read_argv(2, sgagtime, 31);
 read_argv(3, flags, 31);
 read_argv(4, reason, 63);
 remove_quotes(reason);
 
 if( sgagtime[0] )
 {
  if( contain(sgagtime,"m") > 0 )
  {
   new sgagtime2[32];
   copyc(sgagtime2, 31, sgagtime, 'm');
   gagtime = str_to_num(sgagtime2)*60;
  }
  else
   gagtime = str_to_num(sgagtime);
 }
 else
  gagtime = get_pcvar_num(amx_defaut_gag_time)*60;
 if( gagtime < 1 || gagtime > GAG_TIME_LIMIT )
  gagtime = GAG_TIME_LIMIT;
 
 new newflags[32];
 format(flags, 31, "_%s", flags);
 if( contain(flags, "d") > 0 )
  format(newflags, 7, "d");
 if( contain(flags, "c") > 0 )
  format(newflags, 7, "c%s", newflags);
 if( contain(flags, "b") > 0 )
  format(newflags, 7, "b%s", newflags);
 if( contain(flags, "a") > 0 )
  format(newflags, 7, "a%s", newflags);
 if( !newflags[0] )
  newflags = "abcd";
 format(flags, 31, "_%s_", newflags);
 
 new authid[32], authid2[32], playerip[32], playerip2[32], name[32], name2[32], userid, userid2;
 get_user_authid(id, authid, 31);
 get_user_authid(player, authid2, 31);
 get_user_ip(id, playerip, 31, 1);
 get_user_ip(player, playerip2, 31, 1);
 get_user_name(id, name, 31);
 get_user_name(player, name2, 31);
 userid = get_user_userid(id);
 userid2 = get_user_userid(player);
 
 new gag_say, gag_say_team, gag_voice, gag_name;
 gag_say = (contain(flags, "a") > 0);
 gag_say_team = (contain(flags, "b") > 0);
 gag_voice = (contain(flags, "c") > 0);
 gag_name = (contain(flags, "d") > 0);
 if( !reason[0] )
  reason = "Unspecified";
 
 if( gag_voice )
 {
  client_cmd(player, "-voicerecord");
  set_speak(player, SPEAK_MUTED);
  wasmuted[player] = true;
 }
 new gaggedtime, filename[128];
 gaggedtime = gagtime + get_systime(1);
 
 if( get_pcvar_num(amx_gag_by_authid) )
 {
  filename = authid2;
  replace_all(filename, 31, ":", "_");
  format(filename, 127, "%s/%s.txt", get_gagsdir(), filename);
 }
 else
  format(filename, 127, "%s/%s.txt", get_gagsdir(), playerip2);
 
 if( file_exists(filename) )
  delete_file(filename);
  
 new sgagtime3[128];
 num_to_str(gaggedtime, sgagtime3, 127);
 write_file(filename, "Time data:");
 write_file(filename, sgagtime3);
 write_file(filename, "Flags:");
 write_file(filename, flags);
 write_file(filename, "Player name:");
 write_file(filename, name2);
 write_file(filename, "Reason:");
 write_file(filename, reason);
 
 log_amx("Gag: ^"%s<#%d><%s><%s>^" gagged ^"%s<#%d><%s><%s>^" <%s> for <%ds> (reason: ^"%s^")", name, userid, authid, playerip, name2, userid2, authid2, playerip2, newflags, gagtime, reason);
 
 format(reason, 127, "for %s (%s)", convert_time(gagtime), reason);
 
 if( gag_say && gag_say_team )
 {
  switch(get_cvar_num("amx_show_activity"))
  {
   case 2: client_print(0, print_chat, "ADMIN %s : Gagged %s by say(_team)%s%s %s", name, name2, (gag_voice) ? " voice" : "", (gag_name) ? " namechange" : "", reason);
   case 1: client_print(0, print_chat, "ADMIN: Gagged %s by say(_team)%s%s%s %s", name2, (gag_voice) ? " voice" : "", (gag_name) ? " namechange" : "", reason);
  }
 }
 else
 {
  switch(get_cvar_num("amx_show_activity"))
  {
   case 2: client_print(0, print_chat, "ADMIN %s : Gagged %s by%s%s%s%s %s", name, name2, (gag_say) ? " say" : "", (gag_say_team) ? " say_team" : "", (gag_voice) ? " voice" : "", (gag_name) ? " namechange" : "", reason);
   case 1: client_print(0, print_chat, "ADMIN: Gagged %s by%s%s%s%s %s", name2, (gag_say) ? " say" : "", (gag_say_team) ? " say_team" : "", (gag_voice) ? " voice" : "", (gag_name) ? " namechange" : "", reason);
  }
 }
  
 console_print(id, "[AMXX] Client ^"%s^" gagged", name2);
 
 return PLUGIN_HANDLED;
}
public cmdUnGag(id, level, cid)
{
 if( !cmd_access(id, level, cid, 2) )
  return PLUGIN_HANDLED
 new target[32], player, ip[32], reason[64];
 read_argv(1, target, 31);
 read_argv(2, ip, 31);
 read_argv(3, reason, 63);
 remove_quotes(reason);
 if( !reason[0] )
  reason = "Unspecified";
 
 new authid[32], playerip[32], name[32], userid;
 get_user_authid(id, authid, 31);
 get_user_ip(id, playerip, 31, 1);
 get_user_name(id, name, 31);
 userid = get_user_userid(id);
 if( !str_to_num(ip) )
 {
  player = cmd_target(id, target, 9);
  
  if(!player)
   return PLUGIN_HANDLED;
  
  new authid2[32], playerip2[32], name2[32], userid2;
  get_user_authid(player, authid2, 31);
  get_user_ip(player, playerip2, 31, 1);
  get_user_name(player, name2, 31);
  userid2 = get_user_userid(player);
  
  new filename[128], fileDir[96], authid_gags = get_pcvar_num(amx_gag_by_authid);
  fileDir = get_gagsdir();
  
  if( authid_gags )
  {
   filename = authid2;
   replace_all(filename, 31, ":", "_");
   format(filename, 127, "%s/%s.txt", fileDir, filename);
  }
  else
   format(filename, 127, "%s/%s.txt", fileDir, playerip2);
  
  format(filename, 127, "%s/%s.txt", fileDir, playerip2);
  if( file_exists(filename) )
   delete_file(filename);
  else if( !authid_gags )
  {
   new server_ip[32];
   get_user_ip(0, server_ip, 31, 1);
   if( equal(playerip2, server_ip) )
    format(filename, 127, "%s/loopback.txt", fileDir);
   else if( equal(playerip2, "loopback") )
    format(filename, 127, "%s/%s.txt", fileDir, server_ip);
   if( !file_exists(filename) )
   {
    console_print(id, "[AMXX] Error: Client ^"%s^" is not gagged", name2);
    return PLUGIN_HANDLED;
   }
  }
  else
  {
   console_print(id, "[AMXX] Error: Client ^"%s^" is not gagged", name2);
   return PLUGIN_HANDLED;
  }
  
  log_amx("Gag: ^"%s<#%d><%s><%s>^" ungagged ^"%s<#%d><%s><%s>^" (reason: ^"%s^")", name, userid, authid, playerip, name2, userid2, authid2, playerip2, reason);
  
  switch(get_cvar_num("amx_show_activity"))
  {
   case 2: client_print(0, print_chat, "ADMIN %s : UnGagged %s (%s)", name, name2, reason);
   case 1: client_print(0, print_chat, "ADMIN: UnGagged %s (%s)", name2, reason);
  }
  
  console_print(id, "[AMXX] Client ^"%s^" ungagged", name2);
  return PLUGIN_HANDLED;
 }
 new filename[128], fileDir[96], authid_gags = get_pcvar_num(amx_gag_by_authid);
 fileDir = get_gagsdir();
 
 if( authid_gags )
 {
  filename = target;
  replace_all(filename, 31, ":", "_");
  format(filename, 127, "%s/%s.txt", fileDir, filename);
 }
 else
  format(filename, 127, "%s/%s.txt", fileDir, target);
 
 if( !file_exists(filename) )
 {
  if( !authid_gags )
  {
   new server_ip[32];
   get_user_ip(0, server_ip, 31, 1);
   if( equal(target, server_ip) )
    format(filename, 127, "%s/loopback.txt", fileDir);
   else if( equal(target, "loopback") || equal(target, "localhost") )
    format(filename, 127, "%s/%s.txt", fileDir, server_ip);
   if( !file_exists(filename) )
   {
    console_print(id, "[AMXX] Error: Ip ^"%s^" not found", target);
    return PLUGIN_HANDLED;
   }
  }
  else
  {
   console_print(id, "[AMXX] Error: Ip ^"%s^" not found", target);
   return PLUGIN_HANDLED;
  }
 }
 
 new name2[32], txtsize;
 read_file(filename, 5, name2, 31, txtsize);
 
 new user, playerip2[32], playerip3[32], authid2[32], userid2;
 for( user = 1; user < 33; user++ )
 {
  if( is_user_connected(user) )
  {
   if( authid_gags )
    get_user_authid(user, playerip3, 31);
   else
    get_user_ip(user, playerip3, 31, 1);
   
   if( equal(target, playerip3) > 0 )
   {
    userid2 = get_user_userid(user);
    if( authid_gags )
    {
     authid2 = playerip3;
     get_user_ip(user, playerip2, 31, 1);
    }
    else
    {
     playerip2 = playerip3;
     get_user_authid(user, authid2, 31);
    } 
    if( is_user_gagged(user, GAGGED_NAME, authid_gags) )
     client_cmd(user, "name ^"%s^"", name2);
    else
     get_user_name(user, name2, 31);
   }
  }
 }
 
 delete_file(filename);
 
 log_amx("Gag: ^"%s<#%d><%s><%s>^" ungagged by ip/authid ^"%s<#%d><%s><%s>^" (reason: ^"%s^")", name, userid, authid, playerip, name2, userid2, authid2, playerip2, reason);
 
 switch(get_cvar_num("amx_show_activity"))
 {
  case 2: client_print(0, print_chat, "ADMIN %s : UnGagged ^"%s^" %s (%s)", name, target, name2, reason);
  case 1: client_print(0, print_chat, "ADMIN: UnGagged ^"%s^" %s (%s)", target, name2, reason);
 }
 
 console_print(id, "[AMXX] Client ^"%s^" with ^"%s^" ip/authid ungagged", name2, target);
 
 return PLUGIN_HANDLED;
}
stock is_user_gagged(id, flag, authid_gags)
{
 
 new filename[128], fileDir[96], playerip[32];
 fileDir = get_gagsdir();
 
 if( authid_gags )
 {
  get_user_authid(id, playerip, 31);
  replace_all(playerip, 31, ":", "_");
  format(filename, 127, "%s/%s.txt", fileDir, playerip);
 }
 else
 {
  get_user_ip(id, playerip, 31, 1);
  format(filename, 127, "%s/%s.txt", fileDir, playerip);
 }
 
 if( !file_exists(filename) )
 {
  if( authid_gags )
   return 0;
  
  new server_ip[32];
  get_user_ip(0, server_ip, 31, 1);
  if( equal(playerip, server_ip) )
   format(filename, 127, "%s/loopback.txt", fileDir);
  else if( equal(playerip, "loopback") )
   format(filename, 127, "%s/%s.txt", fileDir, server_ip);
  if( !file_exists(filename) )
   return 0;
 }
 
 new gagtime[128], gagflags[32], txtsize;
 read_file(filename, 1, gagtime, 127, txtsize);
 if( !(str_to_num(gagtime) > get_systime(1)) )
 {
  delete_file(filename);
  return 0;
 }
 
 read_file(filename, 3, gagflags, 31, txtsize);
 new g_say, g_say_team, g_voice, g_name;
 g_say = (contain(gagflags, "a") > 0);
 g_say_team = (contain(gagflags, "b") > 0);
 g_voice = (contain(gagflags, "c") > 0);
 g_name = (contain(gagflags, "d") > 0);
 if( !(g_say || g_say_team || g_voice || g_name ) )
 {
  log_amx("[GAG] Error: No flags found in <^"%s^"> file! Deleting file.", filename);
  delete_file(filename);
  return 0;
 }
 
 if( flag == GAGGED_SAY )
 {
  if( g_say )
   return 1;
 }
 else if( flag == GAGGED_SAY_TEAM )
 {
  if( g_say_team )
   return 1;
 }
 else if( flag == GAGGED_VOICE )
 {
  if( g_voice )
   return 1;
 }
 else if( flag == GAGGED_NAME )
 {
  if( g_name )
   return 1;
 }
 else
  return 1;
 
 return 0;
}
stock convert_time(time)
{
 new TimeMsg[128];
 get_time_length(0, time, timeunit_seconds, TimeMsg, 127);
 return TimeMsg;
}
stock get_gagsdir()
{
 new gagDir[96];
 format(gagDir, 95, "%s/gags", dataDir);
 if( !dir_exists(gagDir) )
  mkdir(gagDir);
 return gagDir;
}

Last edited by xPaw; 07-05-2011 at 07:41. Reason: code tags...
IlDiavolo is offline
Costin83
Senior Member
Join Date: Jul 2008
Location: Romania
Old 08-05-2009 , 00:10   Re: Admin Super Gag III NEEDDD HELP !!!
Reply With Quote #25

You sure do need help.... Are you BLIND ? :O

amx_gag_by_authid = register_cvar("amx_gag_by_authid", "1")

If using hybrid server MUST be like this:

amx_gag_by_authid = register_cvar("amx_gag_by_authid", "0")
Costin83 is offline
Send a message via Yahoo to Costin83
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 08-05-2009 , 05:26   Re: Admin Super Gag
Reply With Quote #26

If what I'm working on new version what will use less power and will work much better.
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
s7r1k3r
Junior Member
Join Date: Aug 2009
Location: dadadd
Old 08-24-2009 , 17:18   Re: Admin Super Gag
Reply With Quote #27

Can someone make me this plugin whit menu - amx_gagmenu and whit comand amx_gagmenu and if the menu can be similar as that of banmenu or slap / slaymenu a slap / slay how you choose to whether to slap below slay want to gag or de ungag and if there may be some time and forgot some of this menu as it gag for 7 min and down to those gag / ungag where want I to be there as any other minutes 7 min 30 min 1 hour 3 hours 6 hours 12 hours 1 day if someone could make me very grateful and I would not want to laugh, if this is impossible because I'm new and do not understand, thanks in advance.
__________________
pro
s7r1k3r is offline
Send a message via Skype™ to s7r1k3r
1337
Senior Member
Join Date: Mar 2009
Old 05-06-2010 , 04:45   Re: Admin Super Gag
Reply With Quote #28

Quote:
Originally Posted by MPNumB View Post
If what I'm working on new version what will use less power and will work much better.
so?
1337 is offline
Arkadietz
Senior Member
Join Date: Jul 2011
Old 07-04-2011 , 15:46   Re: Admin Super Gag
Reply With Quote #29

I have some requests:

1. after retry, works
2. support for non-steam
3. bug fix gag all players in server
Arkadietz is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 07-05-2011 , 07:41   Re: Admin Super Gag
Reply With Quote #30

Quote:
Originally Posted by Arkadietz View Post
I have some requests:

1. after retry, works
2. support for non-steam
3. bug fix gag all players in server
Non-Steam is not supported here.
__________________
xPaw is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode