StartMessage
Starts a usermessage (network message).
Notes
Only one message can be active at a time.
It is illegal to send any message while a non-intercept hook is in progress.
native Handle StartMessage(const char[] msgname, const int[] clients, int numClients, int flags = 0)Parameters
const char[] msgname
Message name 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
Handle A handle to a bf_write bit packing structure, or
INVALID_HANDLE on failure.Error
Invalid message name, unable to start a message, invalid client,
or client not connected.