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.
Added:
.gitignore
, finallyChanged:
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.'
s back to"
- I can't make my mind up /shrugRemoved: