SA-MP Forums Archive
Loose Intendention no matter what - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Loose Intendention no matter what (/showthread.php?tid=99296)



Loose Intendention no matter what - Mike Garber - 26.09.2009

How am I supposed to fix a Loose Intendention when It doesn't matter
what I do, It doesn't get fixed?

Код:
return 1;
I've been trying for 10 minutes now, with tab, spacebar but no result!
All other "Loose Intendention" is fixed, but I can't get this to work!

Any ideas?


Re: Loose Intendention no matter what - ilikepie2221 - 26.09.2009

It should look something like this:

pawn Код:
public SomeCallback()
{
  if(whatever)
    return 1;
  else if(bla)
  {
    if(yay)
      return woohoo;
    else
      return oh well;
  }
  return x;
}



Re: Loose Intendention no matter what - TraNe15 - 26.09.2009

You should send your part of script to learn wtf is going on..

-TraNe15-