SA-MP Forums Archive
Need Help - 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: Need Help (/showthread.php?tid=663522)



Need Help - PiLLoW - 03.02.2019

Quote:

C:\Users\PiLLoW\Desktop\Gamemode's Files\pawno\include\playerzone.inc(469) : error 090: public functions may not return arrays (symbol "GetPlayerZone")
C:\Users\PiLLoW\Desktop\Gamemode's Files\gamemodes\L-GM.pwn(20566) : error 021: symbol already defined: "GetPlayerZone"
C:\Users\PiLLoW\Desktop\Gamemode's Files\gamemodes\L-GM.pwn(2056 : error 079: inconsistent return types (array & non-array)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.

so how do i remove the "already defined"


Re: Need Help - Proxus - 03.02.2019

The 'already defined' means that it's already been defined in your script and you've defined it more than once which confuses the script because essentially, it's two different definitions.