Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attempt to perform arithmetic on a nil value ( field '?') #101

Closed
Beta-Bella opened this issue Jul 5, 2023 · 2 comments
Closed

attempt to perform arithmetic on a nil value ( field '?') #101

Beta-Bella opened this issue Jul 5, 2023 · 2 comments

Comments

@Beta-Bella
Copy link

Hello dear Dev.

First of all i love you script. And we never had any issues.

Since we switched over to Ox-inventory.
Our first issue is , when we have the jerrycan as an item - We can use it to refill the car but after 2 seconds, it stops and you cannot fuel the car. There is no error shown in the client nor serversided console sadly.

And the other is - as shown on the picture on this thread.
I havent managed to reproduce it yet since people are not willing to give enough information what they do - and what not.

We run on the latest ESX legacy with Ox-inventory and its modules.

lovely greetings.

image

@Feurfelix2409
Copy link

Dear BellaStreet,

I use this script too and have the same Problem with the Jerrycan. Can you please tell me how you fixed it?

Thanks in advance

@Beta-Bella
Copy link
Author

Beta-Bella commented Oct 31, 2023

in the client.lua i believe , Line 159 TriggerEvent('fuel:startFuelUpTick', true, ped, vehicle)

It was on false with us ( why we dont know, we switched it to true) but it gives your Jerrycan infinite ammo. So they basically can missuse it.

and we had to switch to weapon_petrolcan ( since we use oxinventory)

We switched to a different system while we tried to fix it somehow.

Dear BellaStreet,

I use this script too and have the same Problem with the Jerrycan. Can you please tell me how you fixed it?

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants