Posts: 716
	Threads: 92
	Joined: May 2018
	
	
 
	
	
		
pawn Код:
public OnPlayerConnect(playerid)
{
    new vardas [MAX_PLAYER_NAME], query[64];
    GetPlayerName(playerid, vardas, sizeof(vardas));
    format(query, sizeof(query), "SELECT `id` FROM `user` WHERE `vardas` = '%s'", vardas);
    mysql_function_query(manomysql, query, true, "OnUserCheck", "i", playerid);
    return 1;
}
 
	 
	
	
	
		
	
 
 
	
	
	
		
	Posts: 262
	Threads: 33
	Joined: Mar 2018
	
Reputation: 
0
	 
	
	
		Now it is another error 
[10:34:03] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''pass' at line 1
"pass' is part of my register password.When I registering, I create passoword (password) and where is something wrong
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 716
	Threads: 92
	Joined: May 2018
	
	
 
	
	
		We're in 2018 but telepathy hasn't been invented yet. You need to show us the code.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 716
	Threads: 92
	Joined: May 2018
	
	
 
	
	
		
pawn Код:
format(query, sizeof(query), "INSERT INTO `user` (`vardas`, `slaptazodis`) VALUES ('%s', '%s')", vardas, inputtext);
 
Next time just show the code which gives you the error, not the whole gamemode...
	
 
	
	
	
		
	
 
 
	
	
	
		
	Posts: 716
	Threads: 92
	Joined: May 2018
	
	
 
	
	
		Seriously? How you think i can help you if you give me the full gamemode?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 262
	Threads: 33
	Joined: Mar 2018
	
Reputation: 
0
	 
	
	
		please it very important for me :/ 
I dont believe what all of in here dont know how to fix this syntax problem.... I have mistake in my MySQL codding and please help me solve it :/