3 Warnings +REP
#4

For the first function, you've declared 2 times the variable "x".

Код:
stock GetNumberOfPlayersOnThisIP(test_ip[])//&&&&&&&&&&&&&&&&&&&&&&&stock&&&&&&&
{
	new against_ip[32+1];
	new x = 0; //line 35
	new ip_count = 0;
	for(new x, m = GetMaxPlayers(); x<m; x++) { //line 37
		if(IsPlayerConnected(x)) {
			GetPlayerIp(x,against_ip,32);
			if(!strcmp(against_ip,test_ip)) ip_count++;
		}
	}
	return ip_count;
}
For the second function, have you already a variable global "pName" ?

Think to use the BBCode [php] or [code] when you post a code.
Reply


Messages In This Thread
CLOSED. - by Rodri99 - 17.08.2015, 21:07
Re: 3 Warnings +REP - by Sergei - 17.08.2015, 21:10
Re: 3 Warnings +REP - by MichaelJones - 17.08.2015, 21:10
Re : 3 Warnings +REP - by Dutheil - 17.08.2015, 21:12
Re: 3 Warnings +REP - by DTV - 17.08.2015, 21:13
Re: 3 Warnings +REP - by Rodri99 - 17.08.2015, 21:13
Re : 3 Warnings +REP - by Dutheil - 17.08.2015, 21:15
Respuesta: 3 Warnings +REP - by Whyd - 17.08.2015, 21:16
Re: 3 Warnings +REP - by Rodri99 - 17.08.2015, 21:17
Re: 3 Warnings +REP - by Vince - 17.08.2015, 22:56
Re : 3 Warnings +REP - by Dutheil - 17.08.2015, 23:13
Re: Re : 3 Warnings +REP - by Sergei - 17.08.2015, 23:21
Re : Re: Re : 3 Warnings +REP - by Dutheil - 18.08.2015, 00:05

Forum Jump:


Users browsing this thread: 1 Guest(s)