Raised This Month: $ Target: $400
 0% 

block vote console


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xsamitxs
New Member
Join Date: Oct 2012
Old 10-29-2013 , 15:58   block vote console
Reply With Quote #1

i want commands block vote console
xsamitxs is offline
DWIGHTpN
Senior Member
Join Date: Jan 2013
Location: Romania.
Old 10-29-2013 , 16:18   Re: block vote console
Reply With Quote #2

PHP Code:
public client_command(id){
        new 
arg[10];
        
read_argv(0,argcharsmax(arg));
        if( 
equali(arg,"vote") || equali(arg,"votemap") )
               return 
PLUGIN_HANDLED_MAIN;
        return 
PLUGIN_CONTINUE;

Like this ?, or amx_vote ?
DWIGHTpN is offline
Phant
Veteran Member
Join Date: Sep 2009
Location: New Jersey
Old 10-29-2013 , 16:44   Re: block vote console
Reply With Quote #3

PHP Code:
public plugin_init()
{
    
register_clcmd("votemap""CmdVotemap");
}

public 
CmdVotemap(id)
{
    return 
PLUGIN_HANDLED;

DWIGHTpN, this method better?
Phant is offline
Send a message via ICQ to Phant
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 23:15.


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