Save with mysql in one line.
#2

Yes you can, just save that as string, something like that:
Код:
IP|XP|MONEY|LEVEL|ETC
But you need at least 2 field, with name and others.
When you load it from mysql:
Код:
SELECT /*THAT STRING*/ FROM /*YOUR TABLE*/ WHERE NAME = '%s'
And I think you know how to format it.
And now, you need sscanf.
Код:
new String[256];
cache_get_constant_row(0,"/*THAT STRING*/",String);
sscanf(String,"...");
Give that what you want to save or you need to work alone now.
Reply


Messages In This Thread
Save with mysql in one line. - by Banditukas - 15.12.2014, 17:06
Re: Save with mysql in one line. - by Raweresh - 15.12.2014, 17:38
Re: Save with mysql in one line. - by Banditukas - 15.12.2014, 19:44

Forum Jump:


Users browsing this thread: 2 Guest(s)