Hi Ugljesa,
There is not enough information in this question for me to give you an answer - perhaps if you could start with your moodle version and then list the settings for the quiz and the assignment in question someone might be able to help.
Thanks, Damyon