Error 001: expected token: ",", but found ";"
#3

Put this:
Код:
public OnPlayerConnect(playerid)
{
	playersconnected++;
	SendClientMessage(playerid, 0xFF8000FF, "Welcome to the test server!");
	new string[128];
	format (string, sizeof(string), "There are currently %i players in the server (Including you)", playersconnected);
	SendClientMessageToAll(0xFF8000FF, string);
	return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
	playersconnected--;
	new string[128];
	format (string, sizeof(string), "There are currently %i players in the server (Including you)", playersconnected);
	SendClientMessageToAll(0xFF8000FF, string);
	return 1;
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)