Rigister help
#3

If you using mysql, put this after player register

Код:
			// Setup local variables
			new NumPlayers, Msg[256];

			// Execute the query to get all ID's from all accounts in table "playerdata"
			mysql_query("SELECT * FROM `playerdata`");
			// Store the result
			mysql_store_result();
			// Count the amount of rows returned in the result
			NumPlayers = mysql_num_rows();
			// Free the result
			mysql_free_result();

			format(Msg, sizeof(Msg), "{B7B7B7}[SERVER] {FFDC2E}%s(%i) {FFFFFF}has registered, making the server have a total of {FFDC2E}%d {FFFFFF}players registered.", myName, spareid, NumPlayers);
			SendClientMessageToAll(COLOR_WHITE, Msg);
Reply


Messages In This Thread
Rigister help - by RaajParker - 03.12.2015, 08:55
Re: Rigister help - by Lenon - 03.12.2015, 10:51
Re: Rigister help - by SilverStand - 03.12.2015, 10:58
Respuesta: Rigister help - by RaajParker - 03.12.2015, 11:40
Re: Rigister help - by SilverStand - 03.12.2015, 12:55

Forum Jump:


Users browsing this thread: 1 Guest(s)