So i wanted to block T's from picking up weapons , this is what ive got ...
Example script :
public fw_TouchWeapon(weapon, id)
{
if ( !is_user_connected(id) )
return HAM_IGNORED;
if ( id && !is_user_bot(id) )
return HAM_SUPERCEDE;
return HAM_IGNORED;
}
well ... it blocks both T's and CTS from picking up weapons since i haven't ignored any teams ... i tried changing stuff like if cs_get_user_team is CT , then ignore , but it still did not work