04.01.2017, 08:12
PHP код:
new NumPlayers, Msg[128];
mysql_query("SELECT ID FROM players");
mysql_store_result();
NumPlayers = mysql_num_rows();
mysql_free_result();
format(Msg, sizeof(Msg), "{00FF50}%s has registered at xMs {FF0000}[Total Registered Players: %i]",GetName(playerid), NumPlayers);
SendClientMessageToAll(playerid,Msg);
Код:
[11:04:43] [debug] Run time error 19: "File or function is not found" [11:04:43] [debug] mysql_store_result [11:04:43] [debug] mysql_num_rows [11:04:43] [debug] mysql_free_result [11:04:43] [debug] Run time error 19: "File or function is not found" [11:04:43] [debug] mysql_store_result [11:04:43] [debug] mysql_num_rows [11:04:43] [debug] mysql_free_result [11:04:43] Script[gamemodes/xms.amx]: Run time error 19: "File or function is not found" [11:04:43] Number of vehicle models: 0