weapon config include
#1

I try to install weapon config include and got this error

Code:
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
Include: https://github.com/oscar-broman/samp-weapon-config

Help me
Reply
#2

Quote:
Originally Posted by [HLF]Southclaw
View Post
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.
What should I do? Update my pawno, include?
Reply
#3

I try update pawno and include to 0.3.7 but it not work, still error
Reply
#4

Are you using YSI? Can be related to onplayergivedamage differences.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)