oscar-broman / samp-weapon-config

A more consistent and responsive damage system with many new features
Apache License 2.0
92 stars 85 forks source link

error 025: function heading differs from prototype #259

Closed nexquery closed 1 year ago

nexquery commented 1 year ago

I get the following errors when I compile the library in an empty game mode.

#include <open.mp>
#include <weapon-config>

main()
{

}

Errors

weapon-config.inc(3246) : error 025: function heading differs from prototype
weapon-config.inc(3787) : error 025: function heading differs from prototype
weapon-config.inc(4068) : error 025: function heading differs from prototype
weapon-config.inc(4265) : error 025: function heading differs from prototype
nexquery commented 1 year ago

Using the library here fixed the problem.