View Single Post
VEN
Veteran Member
Join Date: Jan 2005
Old 08-08-2007 , 12:28   Re: Need help with buy thing
Reply With Quote #7

Quote:
why you have to do old_weapons?
To do comparision of player's weapons before/after buying.

It's possible to do very insignificant optimization though:
Code:
        new weapon = g_weapons[id]         client_command(id)         weapon = g_weapons[id] & ~weapon         if (weapon) {                 // ...

Last edited by VEN; 08-08-2007 at 12:33.
VEN is offline