StartMessageEx Function

Starts a usermessage (network message).

Handle StartMessageEx(UserMsg msg, const int[] clients, int numClients, int flags)


UserMsg msg

Message index to start.

const int[] clients

Array containing player indexes to broadcast to.

int numClients

Number of players in the array.

int flags

Optional flags to set.

Return Value

A handle to a bf_write bit packing structure, or INVALID_HANDLE on failure.


Invalid message name, unable to start a message, invalid client, or client not connected.


Only one message can be active at a time.

It is illegal to send any message while a non-intercept hook is in progress.