public PingCheck()
{
	for(new i; i<MAX_PLAYERS; i++)
	{
		if(!IsPlayerConnected(i)) continue;
		new ping = GetPlayerPing(i),name[MAX_PLAYER_NAME],pID,string[128];
		GetPlayerName(pID,name,sizeof(name));
		if(ping > 300)
		{
	    	format(string,sizeof(string),"[ANTI HIGH PING] %s wurde vom Server gekickt. Grund: Ping "SpielerName(pID);
	    	SendClientMessageToAll(SAMPROT,string);
	    	Kick(pID);
		}
	}
	return 1;
}
Kriege dort folgenden Error: C:\Dokumente und Einstellungen\Marco\Desktop\DMR\gamemodes\DMR.pwn(2294) : error 001: expected token: "-string end-", but found "-identifier-"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Errorzeile: format(string,sizeof(string),"[ANTI HIGH PING] %s wurde vom Server gekickt. Grund: Ping "SpielerName(pID);
 
		 
		
		
	
