Mysql 3dtext label
#1

How can I load the labels?.. as I save them.

This is my saving.
Код:
stock AddLabelToFile(LabelInfo[], Float:LX, Float:LY, Float:LZ)
{
	new Query[200];

	format(Query, sizeof(Query), "INSERT INTO `labels` (LabelX, LabelY, LabelZ, LabelInfo) VALUES(%f, %f, %f, '%s')",
	LX, LY, LZ, LabelInfo);

	mysql_function_query(dbHandle, Query, true, "", "");
	return 1;
}
I made something for start to load..

Код:
stock AddLabelsFromFile()
{
	mysql_function_query(dbHandle, "SELECT * FROM `labels`", true, "AddLabels", "");
	return 1;
}
Reply


Messages In This Thread
Mysql 3dtext label - by PaulDinam - 21.01.2013, 09:56
Re: Mysql 3dtext label - by PaulDinam - 21.01.2013, 11:57
Re: Mysql 3dtext label - by [MG]Dimi - 21.01.2013, 12:11
Re: Mysql 3dtext label - by PaulDinam - 21.01.2013, 20:45
Re: Mysql 3dtext label - by [MG]Dimi - 22.01.2013, 18:01
Re: Mysql 3dtext label - by FUNExtreme - 22.01.2013, 18:18

Forum Jump:


Users browsing this thread: 1 Guest(s)