Raised This Month: $ Target: $400
 0% 

Force duck


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
JusTGo
Veteran Member
Join Date: Mar 2013
Old 09-09-2013 , 10:35   Re: Force duck
Reply With Quote #2

PHP Code:
/* Plugin generated by Emilioneri */ 

#include <amxmodx> 
#include <amxmisc> 
#include <fakemeta>

#define PLUGIN "Force Duck" 
#define VERSION "1.0" 
#define AUTHOR "Emilioneri" 


public plugin_init() { 
    
register_plugin(PLUGINVERSIONAUTHOR
     
    
// Add your code here... 
    
register_concmd("amx_duck""cmd_duck"ADMIN_SLAY"< name | #userid >"


public 
cmd_duck(idlevelcid

    if (!
cmd_access(idlevelcid2)) 
       return 
PLUGIN_HANDLED 
        
    
new Argument[32
     
    
read_argv(1Argument31
     
    new 
Target cmd_target(idArgument,CMDTARGET_OBEY_IMMUNITY|CMDTARGET_ONLY_ALIVE
     
    if (
Target
    { 
        
set_pev(idpev_buttonpev(idpev_button) & IN_DUCK );
        
client_cmd(id"+duck"
    } 
    return 
PLUGIN_HANDLED 

JusTGo is offline
 



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:08.


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