public OnPlayerText(playerid, text[]) { new array[][6]={"word1", "word2", "word3"}; game = SendClientMessage(playerid, COLOR_GREEN, array[random( sizeof(array) )]); if(strcmp(array[random(sizeof(array) == game)], text, false) == 0) { SendClientMessage(playerid, COLOR_RED, "You won!"); return 1; } return 1; }