IF statement not going through, cant figure out why....
basically i did this:
new is_map_de is_map_de = 1 server_print("is_map_de: %i",is_map_de) if ( is_map_de ) { DO THIS } The server prints: is_map_de: 1 but the if statement dosent go through, whats going on? I bet im declaring it wrong or something.... |
Code:
|
edit: haha, you edit, i edit.
can you explain that "!" ? why does it need to be there? getting bunch of errors. expected token ) but found ! expression has no effect expected ; but found ) edit2: i see what you mean, you mean to do != ... That didnt work either. I really dont know why this isnt working, its not making sense... |
Code:
!= means not equal to. So the value of is_map_de would have to hold a value greater than 0. |
Quote:
|
Well, I figured he could figure that out. After you know that much, it basically becomes common sense.
|
| All times are GMT -4. The time now is 09:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.