Hello...
At first I apologize because my language is very bad but I will try to be clear.
I built a Quest that checks the players data but I did not manage to show an error name in the event that the player does not have a name in the "Players" database Now how do I get an error message if a player doesn't have a in the base?
I am using entry () which enables the player to write the player's name and verification has been fetched via the SQL query
player_search_check = mysql.direct_query("select name from player.player WHERE name = '"..player_search.."';")
table.foreachi(player_search_check,function(i,l)
if l[1] == '' then
chat(" no player in the table ")
else
chat(" yes player is in the table ")
end
end)