Error - Invalid Expression?
#1

I have this code

pawn Код:
#if defined MyPassword
    #define MyPassword "asd"
#elseif
    #define MyPassword 0
#endif
It works fine without #elseif i did something wrong?
Reply
#2

What's wrong? Do you have errors?
Reply
#3

It should be "else" instead of "elseif" -
pawn Код:
#if defined MyPassword
    #define MyPassword "asd"
#else
    #define MyPassword 0
#endif
Reply
#4

@SmiT thanks that was the error i just was a little confused with "#" functions
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)