function heading differs from prototype
#1

Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
	/*if(IsAdminOnDuty[playerid])
	{
		SetPlayerHealth(playerid, 100);
	}*/
	return 1;
}
I added this to my gamemode, and regardless of what's inside of it. I get this error.

Код:
error 025: function heading differs from prototype
I copied this from a_samp.inc so this makes literally no sense to me.
Reply


Messages In This Thread
function heading differs from prototype - by UnholyBeast - 24.06.2017, 23:43
Re: function heading differs from prototype - by Threshold - 24.06.2017, 23:48
Re: function heading differs from prototype - by UnholyBeast - 24.06.2017, 23:57

Forum Jump:


Users browsing this thread: 1 Guest(s)