error 025: function heading differs from prototype
#1

Quote:

public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
if(IsPlayerConnected(playerid))
{
new
id, Float: pHP, Float: pArm;
GetPlayerHealth(playerid, pHP);
GetPlayerArmour(playerid, pArm);
for(new i = 0; i < MAX_DAMAGES; i++)
{
if(!DamageInfo[playerid][i][dmgDamage])
{
id = i;
break;
}
}

"error 025: function heading differs from prototype" error on this line
Quote:

public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)

Reply


Messages In This Thread
error 025: function heading differs from prototype - by p3p4 - 29.01.2019, 12:18
Re: error 025: function heading differs from prototype - by Lokii - 29.01.2019, 12:24
Re: error 025: function heading differs from prototype - by serqq - 29.01.2019, 12:25
Re: error 025: function heading differs from prototype - by p3p4 - 29.01.2019, 12:29
Re: error 025: function heading differs from prototype - by Lokii - 29.01.2019, 12:32

Forum Jump:


Users browsing this thread: 1 Guest(s)