SA-MP Forums Archive
Compiling Errors :( - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Compiling Errors :( (/showthread.php?tid=452661)



Compiling Errors :( - hassantariq73 - 22.07.2013

Hello, I am editing Majestic DM V2.0
Before I edit anything
I get following errors:

Код:
C:\Users\Fahad\Desktop\DM\gamemodes\new.pwn(368) : warning 235: public function lacks forward declaration (symbol "Files")
C:\Users\Fahad\Desktop\DM\gamemodes\new.pwn(554) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Fahad\Desktop\DM\gamemodes\new.pwn(568) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Fahad\Desktop\DM\gamemodes\new.pwn(579) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Fahad\Desktop\DM\gamemodes\new.pwn(421) : warning 204: symbol is assigned a value that is never used: "string"
C:\Users\Fahad\Desktop\DM\gamemodes\new.pwn(419) : warning 204: symbol is assigned a value that is never used: "tmp"
C:\Users\Fahad\Desktop\DM\gamemodes\new.pwn(684) : warning 202: number of arguments does not match definition
C:\Users\Fahad\Desktop\DM\gamemodes\new.pwn(680) : warning 204: symbol is assigned a value that is never used: "string"
C:\Users\Fahad\Desktop\DM\gamemodes\new.pwn(715) : warning 203: symbol is never used: "Admin"
C:\Users\Fahad\Desktop\DM\gamemodes\new.pwn(715) : warning 203: symbol is never used: "AdminColor"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


10 Warnings.



Re: Compiling Errors :( - hossa - 22.07.2013

look iam not a pro scripter but i know somethings.
warning 219 means that this name is already being used by another variable and you should rename it.
warning 203 means you made like " new blah;" and never used it.

when you are facing errors/warnings you never saw before.
copy the warning/error number and ****** it.
it should tell you what to do.