SA-MP Forums Archive
Help me with these errors and warnings - 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: Help me with these errors and warnings (/showthread.php?tid=353994)



Help me with these errors and warnings - Witnec - 25.06.2012

Here they are
Код HTML:
C:\Documents and Settings\Admin\Bureau\QServeur\Paradisa RP\pawno\include\YSI\y_scriptinit.inc(168) : warning 209: function "Radar_Init" should return a value
C:\Documents and Settings\Admin\Bureau\QServeur\Paradisa RP\pawno\include\YSI\y_scriptinit.inc(175) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
C:\Documents and Settings\Admin\Bureau\QServeur\Paradisa RP\pawno\include\YSI\y_scriptinit.inc(218) : error 021: symbol already defined: "OnGameModeExit"
C:\Documents and Settings\Admin\Bureau\QServeur\Paradisa RP\pawno\include\YSI\y_scriptinit.inc(233) : warning 209: function "OnGameModeExit" should return a value
C:\Documents and Settings\Admin\Bureau\QServeur\Paradisa RP\pawno\include\YSI\internal\y_dohooks.inc(872) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")
C:\Documents and Settings\Admin\Bureau\QServeur\Paradisa RP\pawno\include\YSI\internal\y_dohooks.inc(937) : warning 201: redefinition of constant/macro (symbol "OnPlayerDisconnect")
C:\Documents and Settings\Admin\Bureau\QServeur\Paradisa RP\pawno\include\YSI\internal\y_dohooks.inc(2957) : warning 201: redefinition of constant/macro (symbol "OnPlayerUpdate")
C:\DOCUME~1\Admin\Bureau\QServeur\PARADI~1\GAMEMO~1\gamemode.pwn(5533) : warning 235: public function lacks forward declaration (symbol "IsNgCar")
C:\DOCUME~1\Admin\Bureau\QServeur\PARADI~1\GAMEMO~1\gamemode.pwn(6783) : warning 213: tag mismatch
C:\DOCUME~1\Admin\Bureau\QServeur\PARADI~1\GAMEMO~1\gamemode.pwn(39856) : warning 219: local variable "tmp" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
I can't run my server because of these bugs


Re: Help me with these errors and warnings - M3mPHi$_S3 - 25.06.2012

show the codes !!!!


Re : Help me with these errors and warnings - Witnec - 26.06.2012

All the script?


Re: Help me with these errors and warnings - Smokkr - 26.06.2012

Post the error lines.


Re: Help me with these errors and warnings - JonnyDeadly - 26.06.2012

Really this thread should be in Scripting Discussion. And post the lines where the errors are.


Re : Help me with these errors and warnings - Witnec - 29.06.2012

168 :#define CHECKPOINT_NONE 0
175:#define COLOR_GRAD5 0xE3E3E3FF
218:#define COLOR_ADD 0x63FF60AA
233:#define COLOR_BLUE 0x2641FEAA
872:new lspddoor1;
937:new ConsumingMoney[MAX_PLAYERS];
2957:new light[2][0] = {
5533: public IsNgCar(carid)
6783: DeletePlayer3DTextLabel(playerid, ame[playerid]);
39856new tmp[128];


Re: Help me with these errors and warnings - [A]ndrei - 29.06.2012

whaaaa dude really post the lines where the script has problems and ass for the
Код:
#define //ALWAYS GO ON TOP
and post it with a code man.