Error
#1

Hello so i made a one shot headshot with a sniper in OnPlayerTakeDamage callback
but it seems that i have a error

here is my code
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
    if(issuerid != INVALID_PLAYER_ID && weaponid == 34 && bodypart == 9)
    {
        SetPlayerHealth(playerid, 0.0);
        PlayAudioStreamForPlayer(issuerid,"http://audioformat.com/download/headshot.mp3");
    }
    return 1;
}
Here is the error
pawn Код:
TDMv1.0.pwn(789) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
Error - by DarkLored - 16.02.2014, 13:02
Re : Error - by [HRD]Mar1 - 16.02.2014, 13:06
Re: Error - by Necip - 16.02.2014, 13:07
Re: Error - by Kruzz - 16.02.2014, 13:10
Re: Error - by DarkLored - 16.02.2014, 13:21
Re: Error - by ACI - 16.02.2014, 13:43
Re: Error - by DarkLored - 16.02.2014, 13:48

Forum Jump:


Users browsing this thread: 3 Guest(s)