Raised This Month: $12 Target: $400
 3% 

Pickup Multiple Weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Hawk552 (427)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 02-07-2007 , 04:18   Pickup Multiple Weapons
Reply With Quote #1

  • This plugin allows you to pickup and buy multiple primary and secondary weapons. No setup required.


CVARs:
  • max_primary - max number of primary weapons a player can hold
  • max_secondary - max number of secondary weapons a player can hold

Note:
  • At the current moment, when you pickup a weapon, it will contain 0 clips, only ammo in the currently loaded clip.
Attached Files
File Type: sma Get Plugin or Get Source (GHW_Weap_Pickup.sma - 19528 views - 11.2 KB)

Last edited by GHW_Chronic; 01-05-2008 at 09:34.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
organizedKaoS
Senior Member
Join Date: Feb 2006
Old 02-07-2007 , 05:04   Re: Pickup Multiple Weapons
Reply With Quote #2

Quote:
Originally Posted by GHW_Chronic View Post
  • I do not know how this plugin will react to CZ nades
[offtopic]

I'm just curious about what you mean by this.


I have always wondered why some servers have nades that can do over 100 dmg and some cant. [offtopic]

But nice plugin idea...good addition to any funmod server.
organizedKaoS is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 02-07-2007 , 05:06   Re: Pickup Multiple Weapons
Reply With Quote #3

no, CZ nades can be dropped. Thus if you ran over a CZ nade, theoretically you would then have another nade. However, I do not know if the code for weapons works for nades. I meant nothing to do with the fact that CZ nades do indeed do more damage than CS nades.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
organizedKaoS
Senior Member
Join Date: Feb 2006
Old 02-07-2007 , 05:09   Re: Pickup Multiple Weapons
Reply With Quote #4

Ahh I c.

Nice plugin anyways
organizedKaoS is offline
godlike
Senior Member
Join Date: Apr 2005
Old 02-07-2007 , 05:55   Re: Pickup Multiple Weapons
Reply With Quote #5

Ok i tested this on my cs 1.6 windows server and when i try to pick up another gun it crashes my server. Im using amxx 1.76c . Do you know what the problem is?
__________________
Read the rules before posting something stupid: click here

Any questions about amxx PM me
godlike is offline
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 02-07-2007 , 07:10   Re: Pickup Multiple Weapons
Reply With Quote #6

Nice plugin, gj GHW_Chronic!
Deviance is offline
Phantom Warrior
BANNED
Join Date: Feb 2007
Location: hello, gaben
Old 02-07-2007 , 07:11   Re: Pickup Multiple Weapons
Reply With Quote #7

I love it, Chronic your the Plugin Master right next to XxAvalanchexX, you guys are tied.

Good job!
Phantom Warrior is offline
manchimocyrus
Member
Join Date: Nov 2006
Location: Vitan
Old 02-07-2007 , 08:13   Re: Pickup Multiple Weapons
Reply With Quote #8

Good job!
manchimocyrus is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 02-07-2007 , 10:04   Re: Pickup Multiple Weapons
Reply With Quote #9

What about a map when grenades are already laid out on the floor (i.e. fy_pool_day or any he_ map)?
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 02-07-2007 , 18:45   Re: Pickup Multiple Weapons
Reply With Quote #10

Quote:
Originally Posted by godlike View Post
Ok i tested this on my cs 1.6 windows server and when i try to pick up another gun it crashes my server. Im using amxx 1.76c . Do you know what the problem is?
I just scrutinized my code. It appears that for some reason the server crashes sometimes when I attempt to retrieve the amount of ammo in the weapon..
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode