Raised This Month: $32 Target: $400
 8% 

Block "+jump;wait;-jump"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nikolov
Senior Member
Join Date: Feb 2011
Old 09-13-2013 , 14:52   Block "+jump;wait;-jump"
Reply With Quote #1

How can I block this bind: "+jump;wait;-jump" ?
Or when someone use it to ban him ?
nikolov is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 09-13-2013 , 14:56   Re: Block "+jump;wait;-jump"
Reply With Quote #2

sv_allow_wait_command 0
ddhoward is offline
Don_Collione
BANNED
Join Date: Dec 2012
Location: Stockholm
Old 09-26-2013 , 22:57   Re: Block "+jump;wait;-jump"
Reply With Quote #3

PHP Code:
#include <amxmodx>
#include <fakemeta>

#define FL_ALLOWED (FL_ONGROUND | FL_PARTIALGROUND | FL_INWATER | FL_CONVEYOR | FL_FLOAT | FL_SWIM)


new boolg_check[33]

public 
plugin_init()
{
  
register_plugin("Auto-BHop Blocker""0.2""Sved")
  
  
register_forward(FM_CmdStart"fwd_cmdstart")
  
register_forward(FM_PlayerPostThink,"fwd_postthink");
}


public 
client_connect(id)
  
g_check[id] = false


public fwd_cmdstart(iduc_handlerandom_seed)
{
  static 
buttons
  buttons 
get_uc(uc_handleUC_Buttons)
  
  if(
buttons IN_JUMP)
    
g_check[id] = true
}


public 
fwd_postthink(id)
{
  if(
g_check[id])
  {
    if(
pev(idpev_flags) & FL_ALLOWED)
      
g_check[id] = false
    
else
      
client_cmd(id";-jump")
  }
  
  return 
FMRES_IGNORED;


Last edited by Don_Collione; 09-26-2013 at 23:00.
Don_Collione is offline
Don_Collione
BANNED
Join Date: Dec 2012
Location: Stockholm
Old 09-26-2013 , 22:58   Re: Block "+jump;wait;-jump"
Reply With Quote #4

Its okey?

Last edited by Don_Collione; 09-26-2013 at 23:01.
Don_Collione is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 09-26-2013 , 23:52   Re: Block "+jump;wait;-jump"
Reply With Quote #5

Quote:
Originally Posted by ddhoward View Post
sv_allow_wait_command 0
Wow, I have no idea why I assumed that this was for a HL2 game. Can anyone confirm that this actually works with HL1?
__________________
ddhoward is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 09-27-2013 , 02:45   Re: Block "+jump;wait;-jump"
Reply With Quote #6

Quote:
Originally Posted by ddhoward View Post
Wow, I have no idea why I assumed that this was for a HL2 game. Can anyone confirm that this actually works with HL1?
There is no such cvar in HL1:
Code:
sv_accelerate   :        5, sv
sv_aim          :        0, a, sv
sv_airaccelerate :      100, sv
sv_allow_dlfile :        0
sv_allowdownload :        1
sv_allowupload  :        0, sv
sv_alltalk      :        1, sv
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
Old 09-27-2013, 12:03
LordOfNothing
This message has been deleted by ConnorMcLeod. Reason: troll, or posting random confusing code, or posting for posts count
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 09-27-2013 , 13:46   Re: Block "+jump;wait;-jump"
Reply With Quote #7

Quote:
Originally Posted by LordOfNothing View Post
PHP Code:
#include <amxmodx>

public plugin_init()
{
  
register_plugin("wj""0.1""lordON")
  
server_cmd("sv_allow_wait_command 0 ");
  
server_print("[ BLOCK WAIT COMMANDS ] Plugin was 100% succesfuly loaded !");

sv_allow_wait_command is for Source Games, not for GoldSrc.
__________________
Kia is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 09-27-2013 , 14:15   Re: Block "+jump;wait;-jump"
Reply With Quote #8

Quote:
Originally Posted by nikolov View Post
How can I block this bind: "+jump;wait;-jump" ?
Or when someone use it to ban him ?
You cant block. About ban, maybe.
__________________
Jhob94 is offline
nikolov
Senior Member
Join Date: Feb 2011
Old 09-27-2013 , 15:07   Re: Block "+jump;wait;-jump"
Reply With Quote #9

Quote:
Originally Posted by Don_Collione View Post
PHP Code:
#include <amxmodx>
#include <fakemeta>

#define FL_ALLOWED (FL_ONGROUND | FL_PARTIALGROUND | FL_INWATER | FL_CONVEYOR | FL_FLOAT | FL_SWIM)


new boolg_check[33]

public 
plugin_init()
{
  
register_plugin("Auto-BHop Blocker""0.2""Sved")
  
  
register_forward(FM_CmdStart"fwd_cmdstart")
  
register_forward(FM_PlayerPostThink,"fwd_postthink");
}


public 
client_connect(id)
  
g_check[id] = false


public fwd_cmdstart(iduc_handlerandom_seed)
{
  static 
buttons
  buttons 
get_uc(uc_handleUC_Buttons)
  
  if(
buttons IN_JUMP)
    
g_check[id] = true
}


public 
fwd_postthink(id)
{
  if(
g_check[id])
  {
    if(
pev(idpev_flags) & FL_ALLOWED)
      
g_check[id] = false
    
else
      
client_cmd(id";-jump")
  }
  
  return 
FMRES_IGNORED;

Doesn't work. May be not block, And with ban player will be good plugin.
nikolov is offline
nikolov
Senior Member
Join Date: Feb 2011
Old 02-05-2014 , 08:08   Re: Block "+jump;wait;-jump"
Reply With Quote #10

BUMP. Probably without block and with ban will works perfect, but i do not know how to do it.
nikolov is offline
Old 02-06-2014, 01:36
Commy
This message has been deleted by YamiKaitou. Reason: no
Reply


Thread Tools
Display Modes

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 10:42.


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