Skip to content

Wraith ARS 2X v1.3.0

Compare
Choose a tag to compare
@WolfKnight98 WolfKnight98 released this 21 Mar 21:28
· 5 commits to master since this release
9b88f75

New

  • Added passenger view and control. This new update allows front seat passengers to view and control the radar/plate reader of the driver, there are two variables in the config.lua file that control this: passenger view and passenger control. When passenger view is enabled, the passenger will be able to open their remote and toggle their displays for the radar and plate reader. When passenger control is enabled, the passenger will be able to use all the radar and plate reader functions like normal, but it is synced between the driver and passenger.
  • Added callbacks to all Lua NUI events to prevent requests from stalling (thanks Jamelele on GitHub).
  • Added a button to the plate reader window to clear the current BOLO plate.
  • UI settings now get loaded again if the resource gets restarted live.
  • Added a client console message for when the key binds are being registered.
  • Added an option in config.lua to automatically lock speeds only if the speeding vehicle has a real player as the driver.
  • Added a notification when using /reset_radar_data to indicate the resource's KVPs have been reset.
  • Added a chat suggestion for the /reset_radar_data command.
  • Added an option in config.lua for users of Sonoran CAD. When enabled, this reduces the amount that the plate reader system triggers the wk:onPlateScanned event, so it will only trigger the event if the scanned plate has a player in it or belongs to a player.
  • Added options in config.lua to set the default fast lock state and fast limit for the operator menu. This only applies if fast lock is enabled.

Changes

  • Changed the JavaScript NUI post event to HTTPS instead of HTTP (thanks Jamelele on GitHub).
  • Updated the fx_version to "cerulean".
  • Removed dynamic resource naming, this caused too many problems for clients regarding key binds not working or UI elements not displaying. To help reduce the amount of key bind and UI problems, the resource is now hardcoded to use wk_wars2x as the resource name. If the resource name is not wk_wars2x, an error message will be printed to the server console, and the key binds will not be registered client side.
  • Changed the key binds system so that the commands and keys now get registered when the player first spawns in instead of when the script first loads.
  • Changed the key lock message to be clearer.
  • Reduced the default scale from 1.0 to 0.75 in config.lua.
  • Closing the remote will now close the operator menu if open.
  • Reduced the size of the server console branding.
  • Updated the copyright range in the files.
  • Removed the provided jQuery file to use the built-in FiveM jQuery library.
  • A plethora of other code refactors, additions, and deletions. If you would like to see a list of all changes, view the GitHub repository.

Fixes

  • Fixed spamming the power button breaking the radar display.
  • Fixed the fast display operator menu option being ignored on radar power up.