01.05.2014, 17:08
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
return 1
}
Код:
(1311) : error 025: function heading differs from prototype
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
return 1
}
(1311) : error 025: function heading differs from prototype
return 1;
Have you updated your SA-MP server package? (by which I mean the includes?) It looks like the compiler is using an outdated include, in which the syntax of OnPlayerTakeDamage was different.
EDIT: Are you sure that the compiler is using the a_samp.inc that you just checked? |
return 1;