01.03.2015, 17:57
Hello,
I get error when I do it:
that's errors:
Line 2742:
I don't want to use that:
There's a way to use it without errors?
I get error when I do it:
PHP код:
new x = 2;
if(x == 2)return new string[128]; format(string,sizeof(string),"x = %d",x),SendClientMessageToAll(-1,string);
PHP код:
(2742) : error 029: invalid expression, assumed zero
(2742) : error 017: undefined symbol "str"
(2742) : warning 215: expression has no effect
(2742) : error 001: expected token: ";", but found "]"
(2742) : fatal error 107: too many error messages on one line
PHP код:
if(x == 2)return new string[128]; format(string,sizeof(string),"x = %d",x),SendClientMessageToAll(-1,string);
PHP код:
if(x == 2)
{
new string[128];
format(string,sizeof(string),"x = %d",x);
return SendClientMessageToAll(-1,string);
}