[Half-Life AMXX] / climb.sma Repository:
ViewVC logotype

Diff of /climb.sma

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 23, Sun Nov 18 17:46:23 2007 UTC revision 25, Tue Nov 20 22:36:56 2007 UTC
# Line 2  Line 2 
2  Climb v2.0a4  Climb v2.0a4
3  Copyright (C) 2006-2007 Ian (Juan) Cammarata  Copyright (C) 2006-2007 Ian (Juan) Cammarata
4    
5  This program is free software; you can redistribute it and/or modify it under  This program is free software: you can redistribute it and/or modify
6  the terms of the GNU General Public License as published by the Free Software  it under the terms of the GNU Affero General Public License as
7  Foundation; either version 2 of the License, or (at your option) any later  published by the Free Software Foundation, either version 3 of the
8  version.  License, or (at your option) any later version.
9    
10  This program is distributed in the hope that it will be useful, but WITHOUT ANY  This program is distributed in the hope that it will be useful,
11  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  PARTICULAR PURPOSE. See the GNU General Public License for more details.  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13    GNU Affero General Public License for more details.
14    
15  You should have received a copy of the GNU General Public License along with  You should have received a copy of the GNU Affero General Public License
16  this program; go to http://www.opensource.org/licenses/gpl-license.php  along with this program.  If not, see <http://www.gnu.org/licenses/>.
17  --------------------------------------------------------------------------------  --------------------------------------------------------------------------------
18    
19  http://ian.cammarata.us  http://ian.cammarata.us
# Line 268  Line 269 
269  #include <cstrike>  #include <cstrike>
270  #include <cstrike2>  #include <cstrike2>
271    
272  new const VERSION[ ] = "a3.7.2 Nov 18 10:31 MST"  new const VERSION[ ] = "a3.7.3 Nov 18 16:34 MST"
273  new const TRKCVAR[ ] = "climb_version"  new const TRKCVAR[ ] = "climb_version"
274  new const DONOTHING[ ] = "donothing"  new const DONOTHING[ ] = "donothing"
275  new const NULLSTR[ ] = ""  new const NULLSTR[ ] = ""
# Line 1248  Line 1249 
1249          ) return PLUGIN_CONTINUE          ) return PLUGIN_CONTINUE
1250    
1251          //If it's a gun, update pack and clip ammo & silencer          //If it's a gun, update pack and clip ammo & silencer
1252          new wpn_id = get_user_weapon( id )          new wpn_name[17]
1253            get_weaponname( wpn, wpn_name,16 )
1254            new wpn_id = find_ent_by_owner( -1, wpn_name, id )
1255          if( !wpn_id ) return PLUGIN_CONTINUE          if( !wpn_id ) return PLUGIN_CONTINUE
1256    
1257          new clip = get_msg_arg_int( 3 )          new clip = get_msg_arg_int( 3 )
# Line 2139  Line 2142 
2142    
2143                  get_players_ordered( players, num )                  get_players_ordered( players, num )
2144    
2145                  for( new i = 1; i <= num; i++ )                  for( new i = 0; i < num; i++ )
2146                  {                  {
2147                          tid = players[i]                          tid = players[i]
2148    

Legend:
Removed from v.23  
changed lines
  Added in v.25

Contact
ViewVC Help
Powered by ViewVC 1.0.4