y_hooks error 010: invalid function or declaration
#1

core.inc line no. 7: forward onesectimer();

admin.inc file:
Код:
starting from line no. 48
hook onesectimer()
{
	foreach(Player, i)
	{
		if(PlayerInfo[i][Muted] != 0)
			PlayerInfo[i][Muted]--;
		if(PlayerInfo[i][onsecs] == 60)
		{
			PlayerInfo[i][onsecs] = 0;
			if(PlayerInfo[i][onmins] == 60)
			{
				PlayerInfo[i][onhrs]++;
				PlayerInfo[i][onmins] = 0;
			}
			else
			PlayerInfo[i][onmins]++;
		}
		else
		PlayerInfo[i][onsecs]++;
	}
}
errors
Код:
D:\New folder\games\GTA San Andreas\rr\pawno\include\rr/lib/core.inc(7) : error 025: function heading differs from prototype
D:\New folder\games\GTA San Andreas\rr\pawno\include\rr/lib/admin.inc(48) : error 010: invalid function or declaration
D:\New folder\games\GTA San Andreas\rr\pawno\include\rr/lib/admin.inc(50) : error 010: invalid function or declaration
D:\New folder\games\GTA San Andreas\rr\pawno\include\rr/lib/admin.inc(52) : error 010: invalid function or declaration
D:\New folder\games\GTA San Andreas\rr\pawno\include\rr/lib/admin.inc(54) : error 010: invalid function or declaration
D:\New folder\games\GTA San Andreas\rr\pawno\include\rr/lib/admin.inc(57) : error 010: invalid function or declaration
D:\New folder\games\GTA San Andreas\rr\pawno\include\rr/lib/admin.inc(62) : error 010: invalid function or declaration
D:\New folder\games\GTA San Andreas\rr\pawno\include\rr/lib/admin.inc(65) : error 010: invalid function or declaration
can anyone tell whats the problem in this
Reply


Messages In This Thread
y_hooks error 010: invalid function or declaration - by sarab_singh - 27.03.2014, 09:02
Re: y_hooks error 010: invalid function or declaration - by AhmedMohamed - 27.03.2014, 09:40
Re: y_hooks error 010: invalid function or declaration - by sarab_singh - 27.03.2014, 09:44
Re: y_hooks error 010: invalid function or declaration - by Misiur - 27.03.2014, 10:57

Forum Jump:


Users browsing this thread: 5 Guest(s)