get_msg_destination

Used with message stocks. Returns whether or not to use the reliable or unreliable channel when sending a message according to the params used.

Syntax

stock get_msg_destination(id, bool:reliable) {

Usage

id Client index or 0 for all clients
reliable If true, the message will be sent via the reliable

Return

MSG_ONE — if "id" is non-zero and "reliable" is true,

Defined in msgstocks.inc at line 2879 . This documentation was automatically generated from source.