![]() |
![]() |
#1 |
Hobbyist
Join Date: Aug 2008
Location: UK
Posts: 31
|
![]()
Hey all,
It's been a while since I've properly posted. I've been playing around the with script as I was wanting to make it so the pistols are no longer unlimited ammo. I had it working on an old project however it appears the CUST_AMMO script command isn't working at all. This is the code I am using: Code:
Customize= CUST_AMMO, PISTOLS_AMMO_ITEM, IGNORE, 1, 20, 0, IGNORE, IGNORE, IGNORE, IGNORE, IGNORE, IGNORE, IGNORE Thanks! |
![]() |
![]() |
![]() |
#2 |
Archaeologist
Join Date: Jul 2016
Location: Italy
Posts: 1,453
|
![]()
^are you using Classic Inventory plugin? that might be why it doesn't work, as that plugin uses its own script lines
![]() I think it will be cust_cinv_ammo instead of cust_ammo if that's the case
__________________
"Everybody lies, no exceptions." |
![]() |
![]() |
![]() |
#3 |
Hobbyist
Join Date: Aug 2008
Location: UK
Posts: 31
|
![]()
I am using the Classic Inventory plugin - I just removed the plugin and it's fixed the issue... well partially, as I would like to use the inventory plugin too... Thanks!
|
![]() |
![]() |
![]() |
#4 |
Archaeologist
Join Date: Feb 2006
Location: Berkeley, California
Posts: 1,285
|
![]()
I *just* ran into this issue with the classic inventory. Here's the code I used to customize ammo (in this case, the shotgun pickup and associated Ammo 1):
Customize= CUST_CINV_AMMO, CINV_ITEM_SHOTGUN, CINV_ITEM_SHOTGUN_AMMO1, 2, IGNORE, IGNORE, IGNORE, IGNORE, IGNORE, IGNORE, IGNORE Customize= CUST_CINV_ITEM_QUANTITY, CINV_ITEM_SHOTGUN_AMMO1, IGNORE, IGNORE, 2, IGNORE, IGNORE, IGNORE, IGNORE
__________________
Archaeologist in Berkeley, CA |
![]() |
![]() |
![]() |
#5 |
Hobbyist
Join Date: Aug 2008
Location: UK
Posts: 31
|
![]()
Thanks Craig!! That's great... works perfectly now!
|
![]() |
![]() |
![]() |
Thread Tools | |
|
|