Ejemplo n.º 1
0
void CTFPlayerEquip::Touch(CBaseEntity *pOther)
{
	if (UseOnly())
		return;

	EquipPlayer(pOther);
}
Ejemplo n.º 2
0
void CGamePlayerEquip::Touch( CBaseEntity *pOther )
{
	if ( !CanFireForActivator( pOther ) )
		return;

	if ( UseOnly() )
		return;

	EquipPlayer( pOther );
}