Raised This Month: $ Target: $400
 0% 

Wait Console Command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 11-04-2011 , 12:17   Wait Console Command
Reply With Quote #1

Question just for personal knowledge. We have a lot of requests for script blockers, and since binds are client side, it is hard to block them, even if you write a plugin that gives an option to change a client side config, they can just rebind the keys after they select the option anyways.

So my questions is couldn't we just write a plugin that blocks the wait command? Would this work?

PHP Code:
#include <amxmodx>

public plugin_init()
    
register_clcmd("wait""CmdWait");


public 
CmdWait(id)
    return 
PLUGIN_HANDLED
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-04-2011 , 12:23   Re: Wait Console Command
Reply With Quote #2

wait is a client side command that is never sent to the server.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 11-04-2011 , 12:25   Re: Wait Console Command
Reply With Quote #3

Quote:
Originally Posted by ConnorMcLeod View Post
wait is a client side command that is never sent to the server.
Cool that clears it up. Thanks Connor

Edit: I have read elsewhere that players have had trouble with scripts in certain servers because the server says the command wait is unrecognized. Any clue on how that is done?
__________________

Last edited by joshknifer; 11-04-2011 at 12:34.
joshknifer is offline
Send a message via Skype™ to joshknifer
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-04-2011 , 19:49   Re: Wait Console Command
Reply With Quote #4

"have heard"
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-05-2011 , 02:28   Re: Wait Console Command
Reply With Quote #5

It's probably something else doing it.
__________________
fysiks is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-05-2011 , 05:02   Re: Wait Console Command
Reply With Quote #6

Or is it "Alias name is invalid" ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 14:18.


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