Why is this happening
#1

Solved
Reply
#2

because you used \\
pawn Код:
//--TEAMS--\\
//--WEAPONS--\\
//--COLORS--\\
//--TEAM COLORS--\\
do them like
pawn Код:
//--TEAMS--
//--WEAPONS--
//--COLORS--
//--TEAM COLORS--
Reply
#3

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?
Reply
#4

Solved
Reply
#5

Instead of
pawn Код:
static cTeam[MAX_PLAYERS];
Try:

pawn Код:
new cTeam[MAX_PLAYERS];
Reply
#6

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:

pawn Код:
new cTeam[MAX_PLAYERS];
Please, just leave this forum

Quote:
Originally Posted by Kitten
Посмотреть сообщение
so what am i doing wrong.!
I've told you in my first post
Reply
#7

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!
Reply
#8

Solved
Reply
#9

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 ...
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)