09.08.2017, 16:33
I could help convert this code to MySQL R39-3 please thanks
Код:
format(string, sizeof(string), "SELECT * FROM server WHERE Server = '1'");
mysql_query (string);
mysql_store_result();
if (mysql_num_rows() > 0)
{
new wdata[128];
while (mysql_retrieve_row())
{
mysql_get_field("Gamemode",wdata);
CURRENT_GAMEMODE = strval(wdata);
}
}
else
{
printf("[MYSQL]: Could Not Retrieve Field - Shutting Down Server.");
SendRconCommand("gmx");
}
mysql_free_result();

