Esx

O VALENTE via FiveM thiscamefrom@fivem.net (šajā datumā: pirmd., 2019. gada 23. sept. 18:03) rakstīja:

good idea thank for sharing :+1::+1:

1 Like

Is There a way that you can buy batteries and use that to Charge Your Phone so you dont Need to Go to a charging Station?

Hi, i got the same problem, i doesn’t do something and it’s appear every 2 minutes :

InvokeNative: execution failed: Argument at index 1 was null.
e[91mSCRIPT ERROR: Execution of native 000000002f7a49e6 in script host failed.e[0m
e[93m> handlere[0m (e[36m@bateria/server.luae[0m:30)
e[91mSCRIPT ERROR: @bateria/server.lua:29: attempt to perform arithmetic on a nil value (local ‘bateriac’)e[0m

Yes i add it and it’s not work i got a lot error in console and that circle buging and don’t charge phone and phone isn’t die always stay on 50% and yes i use esx and gcphone

I will try to fix all of it.

It works but when I go under 0% It keeps going. Im on -6% now and I can still use the phone :stuck_out_tongue:

Nvm fixed it

I think you need to change the version of your mysql folder version

Sql makes problem.

Can you send screenshots

this doesn’t work for me (i using esx). I upload sql part and i start script correctly but when i press f1 the default battery is 50% and can’t recharge.

thnx for the awsome script man… i make this version of your script something like smart benches in the center of town!!

@GRE_Loudovic I’d love to have that script if possible dude!! that looks amazing

Cool! Good and creative idea.

@KUANA

i have this problem:

> handler (@kuana_bateria/server.lua:44)
InvokeNative: execution failed: Argument at index 1 was null.
SCRIPT ERROR: Execution of native 000000002f7a49e6 in script host failed.
> handler (@kuana_bateria/server.lua:57)

You neee my version of mysql-async

what would be your version?

Custom one, i can pass you. But im not home right now

ok, ty :slight_smile: