[HELP] Expression has no effect fast fast
#5

Quote:
Originally Posted by RenovanZ
View Post
Change this:
pawn Code:
flag == 1;
flag == 2;
//and so on
To:
pawn Code:
flag = 1;
flag = 2;
You should also say why this occurs, which for future reference is because == is comparing the variable to another value and a single equals sign sets the variable.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)