View Single Post
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 09-30-2008 , 11:32   Re: Individual Weapon Restrictions
Reply With Quote #7

1.
Code:
                    //This will force a player to drop a weapon if he is carrying a weapon when                     //a restriction is added for it.                     client_cmd( iPlayer, "drop %s", szWeapon );

Wrong. Here is the correct way:
Code:
engclient_cmd( iPlayer, "drop", szWeapon );
--------------------------------------------------------------
2. You can remove <cstrike> and replace it with fakemeta conversions.
It's not required, but it's always nice to have 1 less module being used, especially when it's replaced with fakemeta.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline