An option Type is provided, which can take on values Directed and Undirected, and whose default value is Undirected.
Type->Directed produces a corresponding random directed graph.
The usages RandomGraph[n, p, Directed], RandomGraph[n, p, range], and RandomGraph[n, p, range, Directed] are all obsolete. Use SetEdgeWeights to set random edge weights.