Invalid Expression[REP+]
#1

pawn Код:
: error 017: undefined symbol "AutoMessages"
: error 017: undefined symbol "AutoMessages"
: error 029: invalid expression, assumed zero
: fatal error 107: too many error messages on one line
I get those errors on my AutoMessages.Letme show you the line that contains all three errors


pawn Код:
forward AutoMessage();
public AutoMessage() {
    new string[128];
-->   format(string, sizeof(string), "New Dimension Says: %s", AutoMessages[random(sizeof(AutoMessages))]);
    SendClientMessageToAll(COLOR_ORANGE, string);
    return 1;
}
Reply


Messages In This Thread
Invalid Expression[REP+] - by Strech - 07.09.2012, 18:01
Re: Invalid Expression[REP+] - by mobiliz - 07.09.2012, 18:06
Re: Invalid Expression[REP+] - by Strech - 07.09.2012, 18:09
Re: Invalid Expression[REP+] - by XGh0stz - 07.09.2012, 18:16
Re: Invalid Expression[REP+] - by Strech - 07.09.2012, 18:18
Re: Invalid Expression[REP+] - by Windrush - 07.09.2012, 18:23
Re: Invalid Expression[REP+] - by Strech - 07.09.2012, 18:25
Re: Invalid Expression[REP+] - by XGh0stz - 07.09.2012, 18:31
Re: Invalid Expression[REP+] - by Windrush - 07.09.2012, 18:32

Forum Jump:


Users browsing this thread: 1 Guest(s)