SA-MP Forums Archive
error 025: function heading differs from prototype - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: error 025: function heading differs from prototype (/showthread.php?tid=541081)



error 025: function heading differs from prototype - k2rl - 09.10.2014

PHP код:
    return 0;
}
public 
OnPlayerGiveDamage(playeriddamagedidFloatamountweaponidbodypart)
{
    if(
weaponid == && GetPlayerFightingStyle(playerid) == FIGHT_STYLE_BOXING || weaponid == && GetPlayerFightingStyle(playerid) == FIGHT_STYLE_BOXING)
    {
        new 
Float:hArmorGetPlayerArmour(damagedidhArmor);
        if(
hArmor <= 0)
        {
            new 
hit strval(RPJL(playeridJOB_BOXER));
            new 
Float:OldHPGetPlayerHealth(damagedidOldHP);
            
SetPlayerHealth(damagedidOldHP-((hit*2)-2));
        }
    }
    return 
1;




Re: error 025: function heading differs from prototype - Eth - 09.10.2014

see this:
https://sampforum.blast.hk/showthread.php?tid=488198


Re: error 025: function heading differs from prototype - k2rl - 09.10.2014

Quote:
Originally Posted by Eth
Посмотреть сообщение
Thanks sir.