FiveM Phone script help

I am currently having this issue with the phone script that I am using in my FiveM server.


sql
consoleerror

The first is what the phone shows while you are in-game. The second is showing that the SQL and that users are getting phone numbers, the 3rd is the error that shows up in the console, the 4th and 5th are the lines that the error quotes 3rd being the MySQL async the 4th being the server Lua for the phone script itself. I’m not sure what’s wrong numbers are being generated but the phone just doesn’t work.

Edit: the pictures don’t show what lines are the problems but for the MySQL picture its highlights for the server.lua is local name = xPlayer.get(‘firstname’) … ’ ’ … xPlayer.get(‘lastname’)

Edit2: not sure if this matters or not but for all of these tables the data is blank with nothing inside it. there are quite a few tables that have no data in them. as far as the server goes this is the only error that shows up in the console
image

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.