pawno\include\weapon-config.inc(2975) : error 025: function heading differs from prototype pawno\include\weapon-config.inc(3222) : error 025: function heading differs from prototype pawno\include\weapon-config.inc(3732) : warning 202: number of arguments does not match definition pawno\include\weapon-config.inc(5320) : warning 219: local variable "hour" shadows a variable at a preceding level pawno\include\weapon-config.inc(5320) : warning 219: local variable "second" shadows a variable at a preceding level pawno\include\weapon-config.inc(5448) : warning 213: tag mismatch pawno\include\weapon-config.inc(5448) : warning 213: tag mismatch pawno\include\weapon-config.inc(5448) : warning 202: number of arguments does not match definition pawno\include\weapon-config.inc(5540) : error 025: function heading differs from prototype pawno\include\weapon-config.inc(5715) : error 025: function heading differs from prototype pawno\include\weapon-config.inc(6331) : error 027: invalid character constant
Look at the actual lines of code the errors point to. The first one is:
OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart) This looks fine, matches the wiki: https://sampwiki.blast.hk/wiki/OnPlayerGiveDamage This means your standard library is (years) out of date. |