Raised This Month: $ Target: $400
 0% 

How do stop defusing bomb[solved]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-22-2009 , 23:27   Re: How do stop defusing bomb
Reply With Quote #3

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

#define PLUGIN "Block Defuse"
#define VERSION "1.0"
#define AUTHOR "bugsy"


public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR);
    
    
register_logevent("bomb_defuse"3"2=Begin_Bomb_Defuse_Without_Kit");
    
register_logevent("bomb_defuse"3"2=Begin_Bomb_Defuse_With_Kit");
}

public 
bomb_defuse()
{
    new 
id get_loguser_index();
    
client_cmd(id,"-use");
}

stock get_loguser_index() 
{
    new 
szLoguser[64], szName[32];
    
read_logargv(0szLogusersizeof szLoguser 1);
    
parse_loguser(szLoguserszNamesizeof szName 1);
    
    return 
get_user_index(szName);

__________________

Last edited by Bugsy; 02-22-2009 at 23:30.
Bugsy 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 17:07.


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