So, this is the final thing that i got .. and i can't compile it .. errors everywhere ...
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 FwdHamPlayerWeaponTouch( const iEntity, const id )
return ( ( 1 <= id <= g_iMaxPlayers ) && ( cs_get_user_team( id ) == CS_TEAM_T ) ? HAM_SUPERCEDE : HAM_IGNORED;
Errors:
/groups/amxmodx/tmp3/textKEDH34.sma(10) : warning 217: loose indentation
/groups/amxmodx/tmp3/textKEDH34.sma(12) : warning 217: loose indentation
/groups/amxmodx/tmp3/textKEDH34.sma(1

: error 017: undefined symbol "cs_get_user_team"
__________________