stock get_msg_destination(id, bool:reliable)
id | Client index or 0 for all clients |
reliable | If true, the message will be sent via the reliable channel, otherwise it will use the unreliable one |
Used with message stocks. Returns whether or not to use the reliable or unreliable channel when sending a message according to the params used.
MSG_ONE if "id" is non-zero and "reliable" is true, MSG_ONE_UNRELIABLE if "id" is non-zero and "reliable" is false, MSG_ALL if "id" is zero and "reliable" is true, MSG_BROADCAST if "id" is zero and "reliable" is false.
This documentation was automatically generated using pawn-docgen made by xPaw for AlliedMods.