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( );
RegisterHam( Ham_Touch, "weaponbox", "FwdHamPlayerWeaponTouch" );
RegisterHam( Ham_Touch, "armoury_entity", "FwdHamPlayerWeaponTouch" );
}
public FwdHamPlayerPickup( const iEntity, const id )
return ( 1 <= id <= g_iMaxPlayers ) ? HAM_SUPERCEDE : HAM_IGNORED;
__________________