Hey can you help me please [ script:mysql-async] [MariaDB:10.3.29-MariaDB-0+deb10u1] [ERROR] [peds] An error happens for query “UPDATE users SET ped = ? WHERE identifier = ? : [“mp_m_niko_01”,false]”: ER_TRUNCATED_WRONG_VALUE: Truncated incorrect DOUBLE value: ‘8b7c0755772e3072963114fd6c0d69d17c7d8c0a’
Yeah, do you have database?
and do you have a table for saving players data, items…
If you have you need to change ‘users’ with your table
Go check database.sql file and read it
Yes i added the Sql to database and have ped in users. After I join the server this comes up:
[script:peds] SCRIPT ERROR: @peds/server/server.lua:105: attempt to index a nil value (field '?')
[script:peds] > ref (@peds/server/server.lua:105)
[script:peds] > <unknown> (@mysql-async/mysql-async.js:15543)
And after giving a ped this come up:
[script:peds] You have required group >> Ped is set
[ script:mysql-async] [MariaDB:10.3.29-MariaDB-0+deb10u1] [ERROR] [peds] An error happens for query "UPDATE users SET ped = ? WHERE identifier = ? : ["a_f_m_bevhills_01",false]": ER_TRUNCATED_WRONG_VALUE: Truncated incorrect DOUBLE value: '8b7c0755772e3072963114fd6c0d69d17c7d8c0a'
Im using /setPed 1 a_f_m_bevhills_01 and the error was gone after login to Steam before join the Server. Tbh thats very old why we need to use Steam these Days. but anyway the Ped is not saved in Database thats the Problem and this error is still there after joining the Server:
[script:peds] SCRIPT ERROR: @peds/server/server.lua:105: attempt to index a nil value (field '?')
[script:peds] > ref (@peds/server/server.lua:105)
[script:peds] > <unknown> (@mysql-async/mysql-async.js:15543)