Releases: inferno-collection/Weapons
Public Beta Version 1.3
Added:
- Delay to flashlight button check to stop spamming, which caused networking issues.
- A check on the server to see if there are any changes to the flashlights.
- This means instead of spamming the client with updates, it only sends them as needed.
.gitignore, finally- Jump-label for the active weapon loops
Changed:
- Move some
DisableControlActions()outside of the master loop in an attempt to stop an issue where the stock GTA 5 flashlight came on when you pressed E. - Default firemode change key from 26 to 319.
- It's still C, just not bound to anything on controller.
- Networking on the server side to fix an issue where flashlights would not update on the client properly.
- Client now stores it lasted use weapon with flashlight, meaning it only has to send one request to the server when it changes weapon, instead of spamming it every single tick.
's back to"- I can't make my mind up /shrug- Contracted a lot of nested if statements
- General code clean-up
- Small change to the way the limp animation set is requested
- Contacted the Javascript in the NUI file
Removed:
- Checking if a client event needed to be triggered, inside of a loop, that only triggered when a variable was set, that was only set inside two other events.... I know, and I very sorry for this abomination, please forgive me.
Public Alpha Version 1.3
DO NOT BLINDLY UPDATE // THIS IS A DEVELOPMENT BUILD
Important Note: If you test this resource in your server, please report back to us! We have not thoroughly tested this update and would appreciate your feedback.
Added:
.gitignore, finally- Jump-label for the active weapon loops
Changed:
's back to"- I can't make my mind up /shrug- Contracted a lot of nested if statements
- General code clean-up
- Small change to the way the limp animation set is requested
- Contacted the Javascript in the NUI file
Public Alpha Version 1.292
DO NOT BLINDLY UPDATE // THIS IS A DEVELOPMENT BUILD
Important Note: If you test this resource in your server, please report back to us! We have not thoroughly tested this update and would appreciate your feedback.
Changed:
- Client now stores it lasted use weapon with flashlight, meaning it only has to send one request to the server when it changes weapon, instead of spamming it every single tick.
Removed:
- Stupid redundant event code I should have removed a long time ago.
Public Alpha Version 1.29
DO NOT BLINDLY UPDATE // THIS IS A DEVELOPMENT BUILD
Important Note: If you test this resource in your server, please report back to us! We have not thoroughly tested this update and would appreciate your feedback.
Changed:
- Client now stores it lasted use weapon with flashlight, meaning it only has to send one request to the server when it changes weapon, instead of spamming it every single tick.
Public Alpha Version 1.28
DO NOT BLINDLY UPDATE // THIS IS A DEVELOPMENT BUILD
Important Note: If you test this resource in your server, please report back to us! We have not thoroughly tested this update and would appreciate your feedback.
Changed:
- Networking on the server side to fix an issue where flashlights would not update on the client properly.
Public Beta Version 1.26
Inferno Collection: Weapons
Public Beta Version 1.26
Adds fire modes to the weapons of your choice, as well as more realistic reloads (including disabling automatic reloads), consistent flashlights (stay turned on even when weapon is not being aimed), more blood when injured, and limping after being injured.
Presently, the following can be customized:
- Which weapons have what fire mode.
- Which weapons do and do not have a reticle.
- Whether weapons should start on Safety or semi-automatic
- Which blood effects are used.
Development Showcase Video (Showing Version 1.21 Beta)
Development Showcase Video (Showing Version 1.26 Beta)
The Inferno Collection Team
- ChristopherM
- Scott_UK
- FrozenN00b
Like what you see? Check out our other resource.
Changes in Version 1.26 Beta
Added:
- Consistent flashlights
- Works by pressing E when holding a gun with a flashlight attachment, this will turn the flashlight on, even when not aiming.
- Config option for weapons to start on Safety or semi-automatic.
Fixed:
- Being able to auto-reload when using burst mode.
Changed:
- Added a variable for
PlayerIdin the master loop, to avoid calling it 4 times.
Removed:
- Marksman pistol from
Singlelist, since it is a single shot weapon and does not work with the script.
Public Alpha Version 1.27
DO NOT BLINDLY UPDATE // THIS IS A DEVELOPMENT BUILD
Important Note: If you test this resource in your server, please report back to us! We have not thoroughly tested this update and would appreciate your feedback.
Added:
- Delay to flashlight button check to stop spamming, which caused networking issues.
- A check on the server to see if there are any changes to the flashlights.
- This means instead of spamming the client with updates, it only sends them as needed.
Changed:
- Move some
DisableControlActions()outside of the master loop in an attempt to stop an issue where the stock GTA 5 flashlight came on when you pressed E. - Default firemode change key from 26 to 319.
- It's still C, just not bound to anything on controller.
Public Alpha Version 1.26
DO NOT BLINDLY UPDATE // THIS IS A DEVELOPMENT BUILD
Important Note: If you test this resource in your server, please report back to us! We have not thoroughly tested this update and would appreciate your feedback.
Added:
- Proper handling of flashlights when a player dies and/or disconnects
- A failover check to ensure flashlights are being drawn for the correct weapons in the event of bad data.
Fixed:
- A bug where swapping from a weapon with an active flashlight to fists would cause a flashlight to magically come out of your hand
- A bug where swapping from a weapon with an active flashlight to a weapon without an active flashlight would turn off the flashlight on the first weapon, and require the client to press E twice for the flashlight to turn back on.
Public Alpha Version 1.25
DO NOT BLINDLY UPDATE // THIS IS A DEVELOPMENT BUILD
Important Note: If you test this resource in your server, please report back to us! We have not thoroughly tested this update and would appreciate your feedback.
Fixed:
- Flickering flash lights.
- A.k.a I redid the entire networking for them, and did it the proper way, and not the lazy way. So it works good now.
- The client no longer spams the server with requests, but the server still spams the client lol; no way around this at the moment though.
Public Alpha Version 1.24
DO NOT BLINDLY UPDATE // THIS IS A DEVELOPMENT BUILD
Important Note: If you test this resource in your server, please report back to us! We have not thoroughly tested this update and would appreciate your feedback.
Added:
- Consistent flashlights
- Works by pressing E when holding a gun with a flashlight attachment, this will turn the flashlight on, even when not aiming.
- While the flashlights are properly networked and do sync across clients, there is some flickering, we may try to fix this in future updates.
Changed:
- Added a variable for
PlayerIdin the mast loop, to avoid calling it 4 times inside the master loop.
Fixed:
- Another typo in README


