Warning shots are basically a legend, much as shoot to wound.

You fire when you have a clear site picture, and you aim center mass so as to ensure a hit.

Hollywood is the only place you fire a warning shot and then shoot a gun out of someone's hand.