In English when we report an imperative sentence or a request, we usually use a to-infinitive structure.
Example sentences :
DIRECT SPEECH : "Open the door!"
REPORTED SPEECH : He told me to open the door.
DIRECT SPEECH : "Get me something to drink."
REPORTED SPEECH : He told him to get him something to drink.
DIRECT SPEECH : "Go away!"
REPORTED SPEECH : The woman told them to go away.
DIRECT SPEECH : "Don’t make a noise!"
REPORTED SPEECH : The teacher told the students not to make a noise.
DIRECT SPEECH : "Quit smoking."
REPORTED SPEECH : The doctor told the patient to quit smoking.
DIRECT SPEECH : "Don’t park here!"
REPORTED SPEECH : The policeman told me not to park there.
DIRECT SPEECH : "Be careful!"
REPORTED SPEECH : I told him to be careful.
DIRECT SPEECH : "Wait here."
REPORTED SPEECH : He told her to wait there.