Why is this happening - 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: Why is this happening (
/showthread.php?tid=183595)
Why is this happening -
Kitten - 16.10.2010
Solved
Re: Why is this happening -
M0R0JR - 16.10.2010
because you used \\
pawn Код:
//--TEAMS--\\
//--WEAPONS--\\
//--COLORS--\\
//--TEAM COLORS--\\
do them like
pawn Код:
//--TEAMS--
//--WEAPONS--
//--COLORS--
//--TEAM COLORS--
Re: Why is this happening -
Ash. - 16.10.2010
Quote:
Originally Posted by M0R0JR
because you used \\
pawn Код:
//--TEAMS--\\ //--WEAPONS--\\ //--COLORS--\\ //--TEAM COLORS--\\
do them like
pawn Код:
//--TEAMS-- //--WEAPONS-- //--COLORS-- //--TEAM COLORS--
|
Surely that wouldnt affect it? Because slahes only affect 1 line?
Re: Why is this happening -
Kitten - 16.10.2010
Solved
Re: Why is this happening -
Ash. - 16.10.2010
Instead of
pawn Код:
static cTeam[MAX_PLAYERS];
Try:
Re: Why is this happening -
M0R0JR - 16.10.2010
Quote:
Originally Posted by funky1234
Surely that wouldnt affect it? Because slahes only affect 1 line?
|
just shut the f**k up and test it's script
Quote:
Originally Posted by funky1234
Instead of
pawn Код:
static cTeam[MAX_PLAYERS];
Try:
|
Please, just leave this forum
Quote:
Originally Posted by Kitten
so what am i doing wrong.!
|
I've told you in my first post
Re: Why is this happening -
Ash. - 16.10.2010
Quote:
Originally Posted by M0R0JR
just shut the f**k up and test it's script
|
If you want to swear, go elsewhere.
Or - Understand that // (and possible) \\ only comments things following it
on that line - Check the wiki, before you start swearing at me for correcting you.
pawn Код:
//This is comment
But it doesnt continue to this line
Or this
Or even this
//But if i do it again, it comments this line.
But not this
//And doing this:\\
Doesnt affect this either!
Re: Why is this happening -
Kitten - 16.10.2010
Solved
Re: Why is this happening -
M0R0JR - 16.10.2010
Quote:
Originally Posted by Kitten
You are wrong i already know the // \\ makes it comment so you better shut ur mouth and funky thanks ill try it right now!
EDIT: it doesnt work
|
Have you tested what i gave to you , kid2 ?
Have you looked at screenshots , kid2 ?
The
\ is used for ASCII Codes ...
funky(kid) - just test what i gave to Kitten and will see ...
Re: Why is this happening -
Ash. - 16.10.2010
Quote:
Originally Posted by Kitten
You are wrong i already know the // \\ makes it comment so you better shut ur mouth and funky thanks ill try it right now!
EDIT: it doesnt work
|
Then try M0R0JR's line continuation idea, however i dont see why using static whateveritwas - BEFORE COMMENTING AND LINE CONTINUATION would effect it in anyway