18.07.2015, 11:51
C:\Documents and Settings\Admin\Desktop\1.3\1.2\hom nay\VnMgO GTA AE\gamemodes\vnit.pwn(14335 : error 025: function heading differs from prototype
help me,please
PHP код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
// if(PlayerCuffed[damagedid] = 1 && weaponid == 23) return 1;
if(issuerid != INVALID_PLAYER_ID && weaponid == 25 && weaponid == 27 &&( bodypart ==7||bodypart==8) )
{
ApplyAnimation(playerid, "PED", "BIKE_fall_off", 4.1, 0, 1, 1, 1, 0, 1);
return 1;
}
if(issuerid != INVALID_PLAYER_ID)
{
ShotPlayer[issuerid][playerid] = gettime();
LastShot[playerid] = gettime();
switch(weaponid)
{
// case 23: DamagePlayer(playerid, 44);
// case 5: DamagePlayer(playerid, 13);
// case 24: DamagePlayer(playerid, 60);
// case 30: DamagePlayer(playerid, 20);
// case 31: DamagePlayer(playerid, 15);
// case 34: DamagePlayer(playerid, 60);
}
}
return 1;
}