[ESX] KUANA_BATERIA now your phone is more realistic

@KUANA phone doesnt show up when i press F1… i get battery notification but phone doesnt show
what can i do ?

Hello, i don´t have locations where i can load the phone. Please can you help. Do i need to add something?

Getting this error? Anyone know the issue??

Hello,

I can not put the SQL, there are errors that appear in my console

errors?
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)
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)
InvokeNative: execution failed: Argument at index 1 was null.
InvokeNative: execution failed: Argument at index 1 was null.
SCRIPT ERROR: Execution of native 000000002f7a49e6 in script host failed.
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)
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)
InvokeNative: execution failed: Argument at index 1 was null.

Hi,
I am getting error after adding in your Async folder:

[ERROR] [MySQL] An error happens on MySQL for query “INSERT INTO bateria (owner, porcento) VALUES (@owner, @porcento) {@owner=steam:;@porcento=100}": Table ‘fivem_server.bateria’ doesn’t exist
[ERROR] [MySQL] An error happens on MySQL for query "SELECT porcento FROM bateria WHERE owner = @id {@id=steam:
****}”: Table ‘fivem_server.bateria’ doesn’t exist
SCRIPT ERROR: @kuana_bateria/server.lua:29: attempt to perform arithmetic on a nil value (local ‘bateriac’)

How can i fix this as the charge station does not show in shop now either

It says that you dont have any table called bateria on your “fivem_server” database.

ok how do i add that and where ???

Cheers

i think you can add more charging stations around the city… Am i right?

hi, have this problem…
image

Where do i change de waiting time, to charge faster?

Can’t you do it so that you have to buy a battery in the store that the battery is full again then?

1 Like

you need to change the Citizen.Wait(6000)
6000 = 60sec

you need to change the Citizen.Wait(6000)
so 6000 = 1min

Please a Item or can you send me the event for Charge the phone ? That i can create a Item