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