ELS+ | fic

Works great! Although I’m experiencing this small issue where if you’re in a non-els vehicle then the ELS lights appear to move slow on the ELS enabled vehicles. Like ultra slow. Hope that can be fixed soon :smiley:

An included Read me would be nice so im not searching all over the forms on just to get it working. thx

1 Like

Hey guys I am sry i really dont check the forums much anymore but live help is provided on the discord here are updated binaries for ELS Plus

Stable
279-elsplus.zip (268.5 KB)
Development
358-elsplus.zip (446.7 KB)

Enjoy :smiley:

1 Like

This issue is fixed in lastest dev build

You need to use a lighting mod client side like radiance

Hello, when i start the ELS script i get this big error.

InvokeNative: execution failed: parse error - unexpected '"'
Exception thrown by a task: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.ArgumentException: Value does not fall within the expected range.


Server stack trace:
  at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR (System.Int32 errorCode) [0x0000a] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at (wrapper cominterop) CitizenFX.Core.IScriptHost:InvokeNative (intptr)
  at (wrapper cominterop-invoke) CitizenFX.Core.IScriptHost:InvokeNative (intptr)
  at CitizenFX.Core.MonoScriptRuntime+WrapScriptHost.InvokeNative (System.IntPtr context) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MonoScriptRuntime.cs:254
  at (wrapper remoting-invoke-with-check) CitizenFX.Core.MonoScriptRuntime+WrapScriptHost:InvokeNative (intptr)
  at (wrapper xdomain-dispatch) CitizenFX.Core.MonoScriptRuntime+WrapScriptHost:InvokeNative (object,byte[]&,byte[]&)

Exception rethrown at [0]:
  at (wrapper xdomain-invoke) CitizenFX.Core.MonoScriptRuntime+WrapScriptHost:InvokeNative (intptr)
  at CitizenFX.Core.ScriptContext.InvokeInternal (System.UInt64 nativeIdentifier, CitizenFX.Core.IScriptHost scriptHost) [0x00014] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\ScriptContext.cs:273
  at CitizenFX.Core.ScriptContext.Invoke (System.UInt64 nativeIdentifier, CitizenFX.Core.IScriptHost scriptHost) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\ScriptContext.cs:262
  at CitizenFX.Core.ScriptContext.Invoke (System.UInt64 nativeIdentifier) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\ScriptContext.cs:259
  at CitizenFX.Core.Native.API.InternalPerformHttpRequestInternal (System.String requestData, System.Int32 requestDataLength) [0x00014] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\NativesServer.cs:1295
  at CitizenFX.Core.Native.API.PerformHttpRequestInternal (System.String requestData, System.Int32 requestDataLength) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\NativesServer.cs:1285
  at GHMatti.Http.RequestInternal+<Http>d__3.MoveNext () [0x0005d] in E:\gitlab\builds\3dfa407a\0\PFM\ELS-Plus\server\ELS-Server\HttpHelper.cs:54
   --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000f] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object)
  at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet] (System.Runtime.CompilerServices.CallSite site, T0 arg0) [0x00104] in <48501e5f32e8491e924f8b8beae3e4f6>:0
  at CitizenFX.Core.FunctionReference+<>c__DisplayClass11_1.<Invoke>b__1 (System.Threading.Tasks.Task t) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\FunctionReference.cs:78
  at System.Threading.Tasks.ContinuationTaskFromResultTask`1[TAntecedentResult].InnerInvoke () [0x00024] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Threading.Tasks.Task.Execute () [0x00010] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.ArgumentException: Value does not fall within the expected range.


Server stack trace:
  at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR (System.Int32 errorCode) [0x0000a] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at (wrapper cominterop) CitizenFX.Core.IScriptHost:InvokeNative (intptr)
  at (wrapper cominterop-invoke) CitizenFX.Core.IScriptHost:InvokeNative (intptr)
  at CitizenFX.Core.MonoScriptRuntime+WrapScriptHost.InvokeNative (System.IntPtr context) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MonoScriptRuntime.cs:254
  at (wrapper remoting-invoke-with-check) CitizenFX.Core.MonoScriptRuntime+WrapScriptHost:InvokeNative (intptr)
  at (wrapper xdomain-dispatch) CitizenFX.Core.MonoScriptRuntime+WrapScriptHost:InvokeNative (object,byte[]&,byte[]&)

Exception rethrown at [0]:
  at (wrapper xdomain-invoke) CitizenFX.Core.MonoScriptRuntime+WrapScriptHost:InvokeNative (intptr)
  at CitizenFX.Core.ScriptContext.InvokeInternal (System.UInt64 nativeIdentifier, CitizenFX.Core.IScriptHost scriptHost) [0x00014] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\ScriptContext.cs:273
  at CitizenFX.Core.ScriptContext.Invoke (System.UInt64 nativeIdentifier, CitizenFX.Core.IScriptHost scriptHost) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\ScriptContext.cs:262
  at CitizenFX.Core.ScriptContext.Invoke (System.UInt64 nativeIdentifier) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\ScriptContext.cs:259
  at CitizenFX.Core.Native.API.InternalPerformHttpRequestInternal (System.String requestData, System.Int32 requestDataLength) [0x00014] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\NativesServer.cs:1295
  at CitizenFX.Core.Native.API.PerformHttpRequestInternal (System.String requestData, System.Int32 requestDataLength) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\NativesServer.cs:1285
  at GHMatti.Http.RequestInternal+<Http>d__3.MoveNext () [0x0005d] in E:\gitlab\builds\3dfa407a\0\PFM\ELS-Plus\server\ELS-Server\HttpHelper.cs:54
   --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000f] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object)
  at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet] (System.Runtime.CompilerServices.CallSite site, T0 arg0) [0x00104] in <48501e5f32e8491e924f8b8beae3e4f6>:0
  at CitizenFX.Core.FunctionReference+<>c__DisplayClass11_1.<Invoke>b__1 (System.Threading.Tasks.Task t) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\FunctionReference.cs:78
  at System.Threading.Tasks.ContinuationTaskFromResultTask`1[TAntecedentResult].InnerInvoke () [0x00024] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Threading.Tasks.Task.Execute () [0x00010] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
---> (Inner Exception #0) System.ArgumentException: Value does not fall within the expected range.


Server stack trace:
  at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR (System.Int32 errorCode) [0x0000a] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at (wrapper cominterop) CitizenFX.Core.IScriptHost:InvokeNative (intptr)
  at (wrapper cominterop-invoke) CitizenFX.Core.IScriptHost:InvokeNative (intptr)
  at CitizenFX.Core.MonoScriptRuntime+WrapScriptHost.InvokeNative (System.IntPtr context) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MonoScriptRuntime.cs:254
  at (wrapper remoting-invoke-with-check) CitizenFX.Core.MonoScriptRuntime+WrapScriptHost:InvokeNative (intptr)
  at (wrapper xdomain-dispatch) CitizenFX.Core.MonoScriptRuntime+WrapScriptHost:InvokeNative (object,byte[]&,byte[]&)

Exception rethrown at [0]:
  at (wrapper xdomain-invoke) CitizenFX.Core.MonoScriptRuntime+WrapScriptHost:InvokeNative (intptr)
  at CitizenFX.Core.ScriptContext.InvokeInternal (System.UInt64 nativeIdentifier, CitizenFX.Core.IScriptHost scriptHost) [0x00014] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\ScriptContext.cs:273
  at CitizenFX.Core.ScriptContext.Invoke (System.UInt64 nativeIdentifier, CitizenFX.Core.IScriptHost scriptHost) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\ScriptContext.cs:262
  at CitizenFX.Core.ScriptContext.Invoke (System.UInt64 nativeIdentifier) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\ScriptContext.cs:259
  at CitizenFX.Core.Native.API.InternalPerformHttpRequestInternal (System.String requestData, System.Int32 requestDataLength) [0x00014] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\NativesServer.cs:1295
  at CitizenFX.Core.Native.API.PerformHttpRequestInternal (System.String requestData, System.Int32 requestDataLength) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\NativesServer.cs:1285
  at GHMatti.Http.RequestInternal+<Http>d__3.MoveNext () [0x0005d] in E:\gitlab\builds\3dfa407a\0\PFM\ELS-Plus\server\ELS-Server\HttpHelper.cs:54 <---
<---

Any way to fix the key binds for the takedowns? I have changed it in the ELS.ini but the controller mapping still sticks with the vehicle light toggle.

Also is there a way to make the takedowns a two button press? IE: A button and right on DPAD?

Doesn’t work in fivem at all. I just tried it, followed the instruction and nothing happens. The FiveM doesn’t fetch anything. If you really need that scripthook, just forget it! Enabling the scripthook in the server will let everyone play with cheats and trainers.

Works just fine on my server and we don’t have script hook enabled. Simply you must have not installed it correctly.

If you need help be sure to join there discord server or I can help you out to get it to work

Where do you add the XML files or VCF files to make the lights work because I have ELS vehicles in but they aren’t work?

Uhhh, what is this? theres no description of this on the post.

It’s ELS?

I thought there was a different release from ELS, a different version, hence the plus.

Hey, so I’m having a particular problem, was wondering if anyone could help. So I play on a FiveM server on a daily basis and this plugin is used on that server. Long story short a friend of mine begged me to try to go online with a modified directory to play with him as I had previously told him that I had been able to do it in the past but it probably wouldn’t work this time. Surprising to nobody I wasn’t able to get online because of the altercations done to my directory. However, when I went to play on the FiveM server that has this plugin, my controls no longer worked. By default ‘Q’ is used to turn the blue lights on (Main lights on british police cars) and ‘K’ is to turn on the read reds. After this incident, when I press ‘Q’ the blues don’t turn on, I don’t even hear the in-game click of them activating, and when I press ‘K’, the read reds come on after about 3 seconds. So far I have tried; restarting Fivem and my PC. Verifying gta game files via steam, reinstalling FiveM, reinstalling gta and FiveM. None of these steps have been successful. Any ideas?

At this time controller bindings are hard coded you will need to build from scratch in order to fix this

Make sure you remove any and all modifications done to your GTA V directory you will also need to make sure that your keybindings have not been changed. We use specific controls which the server owner can override via the ini file if he did not change the ini file then your key bindings are most likely off

It works just fine in my server and has for 3 months. Something is not installed correctly.

Please make sure you did not download the source code and downloaded the actual resource

1 Like