BlueG MySQL R39-5 issue
#1

Hello, i have problem. Emmm, im using in my code function mysql_errno that checks if MySQL connection is true, but code repeats twice times. Example:
Код:
mysql_log(LOG_ALL);
	MySQL = mysql_connect(HOST, USER, DB, PASSWORD);
	if(mysql_errno(MySQL) != 0)
		print("[MYSQL]nope");
	else
	{
		print("[MYSQL]good");
	}
	LoadVeh();
	return 1;
}
And in console is:
[MYSQL] good(and after 1 second again
[MYSQL] good

Same situation where im loading vehicles, mysql repeats function "LoadVeh()" and it makes same vehicle two times. Where is the problem? Is it vice of MySQL R39-5? Can I fix it? Thanks for any help
Reply


Messages In This Thread
BlueG MySQL R39-5 issue - by Pooorman - 19.08.2016, 08:27
Re: BlueG MySQL R39-5 issue - by MEW273 - 19.08.2016, 08:36
Re: BlueG MySQL R39-5 issue - by Pooorman - 19.08.2016, 08:44

Forum Jump:


Users browsing this thread: 1 Guest(s)