SA-MP Forums Archive
some weird errors i faced - 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: some weird errors i faced (/showthread.php?tid=655283)



some weird errors i faced - Mike861 - 17.06.2018

Im facing these errors and i've got no damn clue what could it be.
Код:
C:\Users\Miki\Desktop\samp037_svr_R2-1-1_win32\gamemodes\mfr.pwn(592) : warning 217: loose indentation
C:\Users\Miki\Desktop\samp037_svr_R2-1-1_win32\gamemodes\mfr.pwn(592) : error 029: invalid expression, assumed zero
C:\Users\Miki\Desktop\samp037_svr_R2-1-1_win32\gamemodes\mfr.pwn(592) : error 017: undefined symbol "_ALS"
C:\Users\Miki\Desktop\samp037_svr_R2-1-1_win32\gamemodes\mfr.pwn(592) : error 029: invalid expression, assumed zero
C:\Users\Miki\Desktop\samp037_svr_R2-1-1_win32\gamemodes\mfr.pwn(592) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Line 592:
Код:
public OnGameModeExit()



Re: some weird errors i faced - GTLS - 17.06.2018

Show your includes. I think this is some problems with Hooking.


Re: some weird errors i faced - TheBeastKhan - 17.06.2018

Show complete OnGamemodeExit,
I think there is a { after it and you haven't placed it.

Код:
public OnGameModeExit()
{
    //Rubbish
}



Re: some weird errors i faced - Mike861 - 17.06.2018

Problem fixed.


Re: some weird errors i faced - TheBeastKhan - 17.06.2018

Can you pls tell what was the cause?