enum TFItemQuality
{
ITEM_QUALITY_NORMAL = 0,
ITEM_QUALITY_RARITY_1,
ITEM_QUALITY_RARITY_2,
ITEM_QUALITY_UNIQUE,
ITEM_QUALITY_RARITY3,
ITEM_QUALITY_RARITY4,
ITEM_QUALITY_RARITY5,
ITEM_QUALITY_COMMUNITY,
ITEM_QUALITY_VALVE,
ITEM_QUALITY_MAX
};
Keeper wrote:
> error C2065: 'QUALITY_VALVE' : undeclared identifier
>
> LOL
>
> -----Original Message-----
> From: Spencer 'voogru' MacDonald [mailto:[email protected]]
> Sent: Tuesday, September 08, 2009 12:06 PM
> To: 'Half-Life dedicated Win32 server mailing list'
> Subject: Re: [hlds] [TF2] Valve using their special weapons
>
> People people people,
>
> There are much more elegant ways to deal with this than banning valve.
>
> if(pWeapon->GetItemQuality() == ITEM_QUALITY_VALVE) {
> pWeapon->AddAttribute("damage penalty", 0.0, true); //-100% damage
> penalty.
> }
>
> Fixed.
>
> Harmless as a butterfly.
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds