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



Compiler - ScIrUsna - 15.03.2016

Hi,

When i finish compile i get about 700 warnings loose indentation And about ~300 symbol is assigned a value that is never used

I know this is not important warnings but them are a lot of. Is there any effect in server i mean bigger lagg or bigger cpu or ram use?


Re: Compiler - Misiur - 15.03.2016

No, warnings are just that (mostly). However:
1) How can you find yourself in badly formated, unindeted code?
2) How will you spot a legitimate error in a sea of warnings?


Re: Compiler - SyS - 15.03.2016

use extreme pawn it have auto indent feature


Re: Compiler - AbyssMorgan - 15.03.2016

I recommend to improve warring
PHP код:
public OnFilterScriptInit(){
    
    
bla bla
    
bla bla 
//<-- loose indentation

    
return 1;