SA-MP Forums Archive
Got problem with GM - 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: Got problem with GM (/showthread.php?tid=463838)



Got problem with GM - KaliKs - 14.09.2013

Hey guys im here to ask you what can be problem i got 3 warns what i had before but i made new car locations(PD/FDSA) and now it dosent show me Maps and Jobs what can be the problem as i have overwrite the Cars also i got somewarns like:

Код:
C:\Users\Erik\Desktop\Uus kaust\Fexterno Gaming RP\gamemodes\FGRP1.pwn(29952) : warning 217: loose indentation
C:\Users\Erik\Desktop\Uus kaust\Fexterno Gaming RP\gamemodes\FGRP1.pwn(49185) : warning 219: local variable "object" shadows a variable at a preceding level
C:\Users\Erik\Desktop\Uus kaust\Fexterno Gaming RP\gamemodes\FGRP1.pwn(56938) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
if you can help me please help me out


Re: Got problem with GM - viveka27 - 14.09.2013

Code?


Re: Got problem with GM - Anak - 14.09.2013

You must be missing some
Код:
;
on line 49185


Re: Got problem with GM - KaliKs - 14.09.2013

i have ; Code i checked it try to do somethin with it nothing still the same


Re: Got problem with GM - knackworst - 14.09.2013

Show the lines


Re: Got problem with GM - [HK]Ryder[AN] - 14.09.2013

These warnings do not affect the code. You have just missed a space somewhere here or there


Re: Got problem with GM - Konstantinos - 14.09.2013

object is already declared, rename it and use it.

warning 217: loose indentation
pawn Код:
if( something )
{
    print( "THIS" );
    print( "IS" );
    print( "THE" );
    print( "CORRECT" );
    print( "WAY" );
    print( "TO" );
    print( "DO" );
    print( "IT!" );
}
pawn Код:
if( something )
{
  print( "THIS" );
 print( "IS" );
      print( "THE" );
   print( "WRONG" );
    print( "WAY!" );
 print( "DO" );
  print( "NOT" );
    print( "DO" );
      print( "IT!" );
}