not to play at/in
彼は子供達に通りで遊ばないように注意した。
He warned the children not to play in the street.
子供たちは暗くなってから公園で遊ばないようにとその母親は強く言った。
The mother strongly warned the children not to play in the park after dark.
彼女は子供達に通りで遊ばないように注意した。
She warned the children not to play in the street.
道で遊ばないように、トムには言ったよ。
I told Tom not to play in the street.