04.02.2017, 17:59
(
Последний раз редактировалось kloning1; 16.05.2017 в 01:09.
)
anony can help me?
i think i do not have problem with my little code
but he did not want to load data from a server, whether that be a problem?
server_log:
my script:
data & structure in mysql

i think i do not have problem with my little code
but he did not want to load data from a server, whether that be a problem?
server_log:
Код:
[01:51:45] MOTD: | AMOTD: [01:51:45] XP: [3] Kue: [1] Cash: [2]
Код:
forward LoadServer();
public LoadServer()
{
new rows, fields;
mysql_query(mysql, "SELECT * FROM `global`");
cache_get_data(rows, fields);
if(rows)
{
cache_get_field_content(0, "motd",Server[MOTD], mysql);
cache_get_field_content(0, "amotd",Server[AMOTD], mysql);
}
printf("MOTD: %s | AMOTD: %s", Server[MOTD], Server[AMOTD]);
return 1;
}




I actually want to update to R40, but I do not quite understand the code.