Raised This Month: $ Target: $400
 0% 

No Weapon Pickup ... Not Working ..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
uNy
Member
Join Date: Dec 2009
Old 05-17-2010 , 18:42   No Weapon Pickup ... Not Working ..
Reply With Quote #1

Hi ya'll ... i have a problem .. i asked xPaw for a no weapon pickup, that applies just for TERRORISTS ! that means just T cant pick up weapons .. the others, can ! Here is the deal ... this is not making even weapon pickup block at any team ... so please .. someone edit it and make if for T Only .. and one that is working. Thx so much.


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

new g_iMaxPlayers;

public 
plugin_init( ) {
    
register_plugin"No Weapon Pickup""1.0""xPaw" );
    
    
g_iMaxPlayers get_maxplayers( );
    
    
RegisterHamHam_Touch"weaponbox""FwdHamPlayerWeaponTouch" );
    
RegisterHamHam_Touch"armoury_entity""FwdHamPlayerWeaponTouch" );
}

public 
FwdHamPlayerPickup( const iEntity, const id )
    return ( 
<= id <= g_iMaxPlayers ) ? HAM_SUPERCEDE HAM_IGNORED
__________________
AlliedModders is The BEST !
That's what she said.
steam://connect/80.96.216.53:27015
uNy 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 03:39.


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