warning 215: expression has no effect
#1

for ( new i = 0; i < MAX_PLAYERS; i++) {
speedo_status[i] == 1;
}

It highlights the bold bit. I've declared this variable earlier in the script as the following:

new speedo_status[MAX_PLAYERS];
Reply
#2

it has to be speedo_status[i] = 1;

Right now you compare instead of assign a value.
Reply
#3

Ahh, I get ya. Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)