Connected players
#1

PHP код:
    new NumPlayersMsg[128];
    
    
mysql_query("SELECT ID FROM players");
    
mysql_store_result();
    
NumPlayers mysql_num_rows();
    
mysql_free_result();
    
format(Msgsizeof(Msg), "{00FF50}%s has registered at xMs {FF0000}[Total Registered Players: %i]",GetName(playerid), NumPlayers);
    
SendClientMessageToAll(playerid,Msg); 
Logs:
Код:
[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
Reply


Messages In This Thread
Connected players - by Loinal - 04.01.2017, 08:12
Re: Connected players - by Donboo - 04.01.2017, 08:23
Re: Connected players - by Lordzy - 04.01.2017, 08:24
Re: Connected players - by Loinal - 04.01.2017, 11:22
Re: Connected players - by Yaa - 04.01.2017, 11:29
Re: Connected players - by Loinal - 04.01.2017, 11:36
Re: Connected players - by Loinal - 04.01.2017, 11:42
Re: Connected players - by Konstantinos - 04.01.2017, 11:49
Re: Connected players - by Loinal - 04.01.2017, 12:08
Re: Connected players - by BiosMarcel - 04.01.2017, 12:11

Forum Jump:


Users browsing this thread: 1 Guest(s)