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

[NMRiH] Full Infinite Ammo v1.3.9 (11 Sep 2014)


Post New Thread Reply   
 
Thread Tools Display Modes
khanhtruong777
Junior Member
Join Date: Apr 2013
Location: Vietnam
Old 01-07-2014 , 20:46   Re: [NMRiH] Full Infinite Ammo v1.0.0 (06 Jan 2014)
Reply With Quote #11

Why? When a player die or leave, they'll drop their weapons along with ammo boxes, which will flood the map. My server crashed after a couple of hours while running unedited version of FIA, after I added that function, everything works fine.
__________________

khanhtruong777 is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 01-07-2014 , 21:05   Re: [NMRiH] Full Infinite Ammo v1.0.0 (06 Jan 2014)
Reply With Quote #12

My server didnt crash even when my admin dropped alot of ammoboxes. Speaking of which, still trying to figure out how to get/set ammobox ammo type. m_szAmmoName doesnt seem to be helpful.
Leonardo is offline
khanhtruong777
Junior Member
Join Date: Apr 2013
Location: Vietnam
Old 01-08-2014 , 23:56   Re: [NMRiH] Full Infinite Ammo v1.2.1 (08 Jan 2014)
Reply With Quote #13

Tested. FIA 1.2.1 is very much better, lol. Infinite = zero, no ammo box in inventory to drop, we can have more space for other stuff. You're genius!
__________________

khanhtruong777 is offline
khanhtruong777
Junior Member
Join Date: Apr 2013
Location: Vietnam
Old 01-09-2014 , 20:50   Re: [NMRiH] Full Infinite Ammo v1.2.3 (09 Jan 2014)
Reply With Quote #14

I believe you forgot this:
Code:
10.01.2014: 
  Version 1.2.4:
    Fixed barricades giving method.
    Create cfg file on first load.
I already did it for myself. However, I wish you would make it official.

Edit: @Leonardo: Could you change GetWeaponClipSize structure from if/else to switch/case? I think it's better that way, i just don't know how to do it (I fell asleep in C++ class, what a shame).
Attached Files
File Type: sp Get Plugin or Get Source (nmp_fia.sp - 432 views - 15.0 KB)
__________________


Last edited by khanhtruong777; 01-09-2014 at 23:12.
khanhtruong777 is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 01-10-2014 , 23:19   Re: [NMRiH] Full Infinite Ammo v1.2.3 (09 Jan 2014)
Reply With Quote #15

Quote:
Originally Posted by khanhtruong777 View Post
Edit: @Leonardo: Could you change GetWeaponClipSize structure from if/else to switch/case? I think it's better that way, i just don't know how to do it (I fell asleep in C++ class, what a shame).
String - array of characters.
Switch is for variables, not arrays.

Never tried tool_barricade, I'll look into it.

EDIT:
screwed as well, fixed with v1.2.4
__________________

Last edited by Leonardo; 02-07-2014 at 18:40.
Leonardo is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 02-15-2014 , 04:31   Re: [NMRiH] Full Infinite Ammo v1.3.4 (15 Feb 2014)
Reply With Quote #16

Bumped to version 1.3.4:
* Added beta feature - no infection mode (sm_ni command, nmp_fia_noinfect cvar for everyone)
* Now adds infinite_ammo server tag when nmp_fia_for_all is on.
Leonardo is offline
yomox9
Member
Join Date: Jan 2014
Location: jp
Old 03-11-2014 , 21:22   Re: [NMRiH] Full Infinite Ammo v1.3.5 (23 Feb 2014)
Reply With Quote #17

I tried change script for JAE-700. it looks like working.

else if(
StrEqual( szClassname, "fa_1022" )
|| StrEqual( szClassname, "fa_mkiii" )
|| StrEqual( szClassname, "fa_sks" )
|| StrEqual( szClassname, "fa_jae700" )
)
return 10;
yomox9 is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 03-12-2014 , 03:00   Re: [NMRiH] Full Infinite Ammo v1.3.5 (23 Feb 2014)
Reply With Quote #18

Quote:
Originally Posted by yomox9 View Post
I tried change script for JAE-700. it looks like working.
why don't you just use Give Weapon's data file?
Leonardo is offline
yomox9
Member
Join Date: Jan 2014
Location: jp
Old 03-15-2014 , 15:23   Re: [NMRiH] Full Infinite Ammo v1.3.5 (23 Feb 2014)
Reply With Quote #19

Quote:
Originally Posted by Leonardo View Post
why don't you just use Give Weapon's data file?
because i didn't know it.
how do i use it?
why thought you that i know "Give weapons" plugin?
yomox9 is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 03-15-2014 , 15:29   Re: [NMRiH] Full Infinite Ammo v1.3.6 (12 Mar 2014)
Reply With Quote #20

Quote:
Originally Posted by Leonardo View Post
Changelogs:
Code:
12.01.2014:
  Version 1.3.0:
    Added GiveWeapons config support.
Leonardo is offline
Reply



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:38.


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