You'd have to remove projectile.primaryMagazine.contents = projectile.primaryMagazine.capacity; to start with, then you'd have to add code to check when the player is attempting to reload a weapon. The problem is that if a player has no ammo, the reload hook is never called. So you'd have to also give the player at least 1 ammo for them to reload with and then add more if needed.
InfiniteAmmo
Moved
Total Downloads: 4,448 - First Release: May 30, 2015 - Last Update: Jul 19, 2015
- 4.38889/5, 18 likes
-
Wulf Community Admin
-
-
Wulf Community Admin
-
Hey I just set up a aim server but I am stuck with this plugin. I want everyone who joins the server the automatically have the infinite ammo switched on but no matter what I do it doesn't seem to be working. Anyone know how to fix this or if it's even possible?
-
Wulf Community Admin
-
Same problem here, i want that its instantly enabled for the players. Already gave the default group the needed permission. "infinite.ammo" But they need to manually typ /toggleammo, and i want that its always enabled by default. Do you know how i can do that?
-
Wulf Community Admin
-
Damn
-
I don't is what fault can you help me
resuelto muchas gracias
Screenshot here is missing /toggleammo
To make it work
thanks to Mughisi page 6 Screenshot perfect tkLast edited by a moderator: Mar 14, 2018 -
i found a bug with this plugin, when you fire an ak for around 45 rounds straight, the gun has no recoil at all.. haven't had time to check other guns yet.
-
Not a plugin bug. This happens after so many shots on any gun without this plugin. Not sure if there's a way to reset the recoil after so many shots
-
Code:
(14:36:17) | Error while compiling: UnlimitedAmmo.cs(265,30): error CS0246: The type or namespace name `PlayerSession' could not be found. Are you missing an assembly reference?
-
Looks like you're trying to use the Hurtworld plugin on Rust. -
I become crazy with the last Rust update... need to sleep
and I think I'm not doing any good anymore ... I'm going to go to drink 5 liters of coffee and I redo the point on all my stupidities ...
sorry for the inconvenience and thank you for your answers and your activity for the community! -
@Wulf Just a thought my friend. This plugin is great, its even better after the first clip of each automatic weapon as the recoil and spread dissppears. Is there a way you can add this to happen automatically without having to empty the first clip? I honestly would not have a clue where to start to do this myself XD
-
-
-
is there a way to ONLY give infinite ammo for normal pistol, rifle, and HV for both ? i dont want to have infinite explosive and c4 etc. maybe a black list? or?