SA-MP Forums Archive
error 049 invaild line - 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: error 049 invaild line (/showthread.php?tid=152243)



error 049 invaild line - HACKHERS - 03.06.2010

whats that?


Re: error 049 invaild line - DJDhan - 03.06.2010

Please show us that line or part of that code.


Re: error 049 invaild line - HACKHERS - 03.06.2010

[img width=1024 height=768]http://i46.tinypic.com/359y04n.jpg[/img]


Re: error 049 invaild line - ViruZZzZ_ChiLLL - 03.06.2010

Try this :
pawn Код:
if(strcmp(cmd, "/blowjob", true) || strcmp(cmd, "/bj", true) == 0)



Re: error 049 invaild line - RyDeR` - 03.06.2010

Quote:
Originally Posted by ViruZZzZ_ChiLLL
Try this :
pawn Код:
if(strcmp(cmd, "/blowjob", true) || strcmp(cmd, "/bj", true) == 0)
Will not work.
_________________________________________________
pawn Код:
if(!strcmp(cmd, "/blowjob", true) || !strcmp(cmd, "/bj", true))
{
}
Edit: nvm.


Re: error 049 invaild line - HACKHERS - 03.06.2010

it doesn't work


Re: error 049 invaild line - MadeMan - 03.06.2010

Remove all '\' on line 1762


Re: error 049 invaild line - Jonni8 - 03.06.2010

try this:
pawn Код:
if(strcmp(cmd, "/blowjob", true) == 0 || strcmp(cmd, "/bj", true) == 0))
@MadeMan
Quote:

Remove all '\' on line 1762

eee i guess there are noch '\' in the line... only '/'


Re: error 049 invaild line - MadeMan - 03.06.2010

Quote:
Originally Posted by MadeMan
Remove all '\' on line 1762
Sure?


Re: error 049 invaild line - Jonni8 - 03.06.2010

Sorry... i looked at the line 1763.
But in 1762 there is only a comment


Re: error 049 invaild line - MadeMan - 03.06.2010

There is ///// and \\\\\

The \\\\\ part is causing problems because \ is also used to continue code to next line.


Re: error 049 invaild line - Jonni8 - 03.06.2010

okay... dindt know.
I use my comments like this
pawn Код:
/*
  ----------
  --TOPIC--
  ----------
*/



Re: error 049 invaild line - DJDhan - 03.06.2010

Quote:
Originally Posted by MadeMan
There is ///// and \\\\\

The \\\\\ part is causing problems because \ is also used to continue code to next line.
Well, anything coming after a comment is ignored.


Re: error 049 invaild line - MadeMan - 03.06.2010

Quote:
Originally Posted by DJDhan
Well, anything coming after a comment is ignored.
Not in this case, you can try if you want.


Re: error 049 invaild line - DJDhan - 03.06.2010

Well it should :P It does give me errors