SA-MP Forums Archive
weapon-config errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: weapon-config errors (/showthread.php?tid=635578)



weapon-config errors - aoky - 09.06.2017

PHP Code:
C:\Users\Austin\Desktop\Small-County-RP-Release\pawno\include\weapon-config.inc(1700) : warning 202number of arguments does not match definition
C
:\Users\Austin\Desktop\Small-County-RP-Release\pawno\include\weapon-config.inc(1698) : warning 203symbol is never used"addsiren"
C:\Users\Austin\Desktop\Small-County-RP-Release\gamemodes\SCRP-R39.pwn(92) : warning 201redefinition 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 021symbol 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).


Re: weapon-config errors - asri - 10.06.2017

https://github.com/oscar-broman/samp...fig#how-to-use