Max ping
#1

how i fix dis code?


Код:
public PingCheck()
{
	for(new i=0;i < MAX_PLAYERS;i++)
	{
		if(IsPlayerConnected(i))
		{
			OnPlayerPingUpdate(i);
		}
	}
	return 1;
}
Код:
warning 219: local variable "PlayerName" shadows a variable at a preceding level
error 035: argument type mismatch (argument 2)
warning 213: tag mismatch
warning 204: symbol is assigned a value that is never used: "PlayerName"
warning 235: public function lacks forward declaration (symbol "PingCheck")
warning 235: public function lacks forward declaration (symbol "PingCheck")
error 021: symbol already defined: "PingCheck"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
Max ping - by DerickClark - 15.04.2013, 11:08
Re: Max ping - by TomatoRage - 15.04.2013, 11:10
Re : Max ping - by morocco - 15.04.2013, 11:12
Re: Max ping - by faiznurfaza - 15.04.2013, 11:19
Re: Max ping - by DerickClark - 15.04.2013, 11:22

Forum Jump:


Users browsing this thread: 1 Guest(s)