30.09.2014, 15:27
Код:
C:(799) : error 001: expected token: "-string end-", but found "-identifier-" C:(801) : error 010: invalid function or declaration
PHP код:
new randomMessages[][] =
{
""COL_WHITE"["COL_BLUE"SERVER]"COLOR_GREY" Found A Bug? Let Us Know! Report It Here: www.Apocalypse-Z.tk",//line 799
""COL_WHITE"["COL_BLUE"SERVER]"COLOR_GREY" Seen A Hacker/Rulebreaker? Let Us Know With ' /report <id> <reason> ' ."
};//line 801
PHP код:
function RandomMessages()
{
new randomMsg = random(sizeof(randomMessages));
SendClientMessageToAll(-1, randomMessages[randomMsg]);
}