error 025: function heading differs from prototype
#1

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;

Reply
#2

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)