18.12.2014, 20:18
Its a problem that I've never ran into before, still using all the update includes and so that i started my project with, but for some reason its giving me the error (Code can bee seen below), and i know for a fact its correct.
Code:
Код:
F:\SA-MP\scripts\gamemodes\this-script.pwn(938) : error 025: function heading differs from prototype
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
if(IsLogged(playerid) && CharSpawned(playerid))
{
if(IsLogged(issuerid) && CharSpawned(issuerid))
return -1;
if(IsWearingKevlar(playerid))
{
if(bodypart == BODY_PART_TORSO || bodypart == BODY_PART_GROIN)
{
}
}
}
return true;
}