PDA

View Full Version : weapon-config errors


aoky
09/06/2017, 08:40 PM
C:\Users\Austin\Desktop\Small-County-RP-Release\pawno\include\weapon-config.inc(1700) : warning 202: number of arguments does not match definition
C:\Users\Austin\Desktop\Small-County-RP-Release\pawno\include\weapon-config.inc(1698) : warning 203: symbol is never used: "addsiren"
C:\Users\Austin\Desktop\Small-County-RP-Release\gamemodes\SCRP-R39.pwn(92) : warning 201: redefinition of constant/macro (symbol "E_SHOT_INFO")
C:\Users\Austin\Desktop\Small-County-RP-Release\gamemodes\SCRP-R39.pwn(1279) : warning 235: public function lacks forward declaration (symbol "OnPlayerShootPlayer")
C:\Users\Austin\Desktop\Small-County-RP-Release\gamemodes\SCRP-R39.pwn(1322) : warning 209: function "WC_OnPlayerConnect" should return a value
C:\Users\Austin\Desktop\Small-County-RP-Release\gamemodes\SCRP-R39.pwn(10055) : error 021: symbol already defined: "OnPlayerTakeDamage"



When I added weapon-config.inc this is what happens, warning and errors come up. "addsiren" isn't even in our script, there is only one OnPlayerTakeDamage(I used ctrl+f).

asri
10/06/2017, 03:28 AM
https://github.com/oscar-broman/samp-weapon-config#how-to-use