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

[Bug] Needs a fix


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
New and Clueless
Senior Member
Join Date: Dec 2015
Old 06-21-2016 , 23:46   [Bug] Needs a fix
Reply With Quote #1

So when you use this plugin:

https://forums.alliedmods.net/showth...hlight=trigger

and this:

https://forums.alliedmods.net/showth...light=punisher

punisher has this part of code:

Code:
			//find what weapon type the player has
			switch(get_user_weapon(player))
			{
			case CSW_P228 : ca = 13;
			case CSW_SCOUT : ca = 10;
			case CSW_HEGRENADE : ca = 1;
			case CSW_XM1014 : ca = 7;
			case CSW_C4 : ca = 1;
			case CSW_MAC10 : ca = 30;
			case CSW_AUG : ca = 30;
			case CSW_SMOKEGRENADE : ca = 1;
			case CSW_ELITE : ca = 15;
			case CSW_FIVESEVEN : ca = 20;
			case CSW_UMP45 : ca = 25;
			case CSW_SG550 : ca = 30;
			case CSW_GALI : ca = 35;
			case CSW_FAMAS : ca = 25;
			case CSW_USP : ca = 12;
			case CSW_GLOCK18 : ca = 20;
			case CSW_AWP : ca = 10;
			case CSW_MP5NAVY : ca = 30;
			case CSW_M249 : ca = 100;
			case CSW_M3 : ca = 8;
			case CSW_M4A1 : ca = 30;
			case CSW_TMP : ca = 30;
			case CSW_G3SG1 : ca = 20;
			case CSW_FLASHBANG : ca = 2;
			case CSW_DEAGLE: ca = 7;
			case CSW_SG552 : ca = 30;
			case CSW_AK47 : ca = 30;
			case CSW_P90 : ca = 50;
			}
so when you use first plugin, the first plugin sets more ammo to the clip, but second one sets back the clip to normal limits, e.g. first plugin makes ak47 ammo 45, second plugin makes it back to 30, and just adds the ammo from there when you shoot. Anybody know what to do? need to make these plugins not collide somehow

here are codes if anybody can do anything:

Trigger:
Spoiler


Punisher:
Spoiler


Thank you.
__________________

ANY SCRIPTER ON THIS FORUM HAS FREE VIP/ADMIN IN MY SERVER!
New and Clueless is offline
 


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 00:45.


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