Raised This Month: $ Target: $400
 0% 

Blocking all weapons picking up.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-06-2010 , 07:05   Re: Blocking all weapons picking up.
Reply With Quote #10

Quote:
Originally Posted by hleV View Post
PHP Code:
#include <amxmodx>
#include <engine>
 
public plugin_init()
{
        
register_plugin("No Weapon Pickup""1.1""hleV");
 
        new const 
szPlayer[] = "player";
 
        
#if defined REMOVE_WEAPONS
                
new const szTouch[] = "fwdTouch";
        
#else
                
new const szTouch[] = "";
        
#endif
 
        
register_touch("weaponbox"szPlayerszTouch);
        
register_touch("armoury_entity"szPlayerszTouch);
        
register_touch("weapon_shield"szPlayerszTouch);
}
 
#if defined REMOVE_WEAPONS
public fwdTouch(iEntityiClient)
{
        if (!
is_valid_ent(iEntity))
                return 
PLUGIN_CONTINUE;
 
        
call_think(iEntity);
 
        return 
PLUGIN_HANDLED;
}
#endif 
Lol @ stupidity
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 08:43.


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