Hook function types for user messages.
function Action(UserMsg msg_id, BfRead msg, const int[] players, int playersNum, bool reliable, bool init)
Called when a bit buffer based usermessage is hooked
Message index.
Handle to the input bit buffer.
Array containing player indexes.
Number of players in the array.
True if message is reliable, false otherwise.
True if message is an initmsg, false otherwise.
Ignored for normal hooks. For intercept hooks, Plugin_Handled blocks the message from being sent, and Plugin_Continue resumes normal functionality.
function Action(UserMsg msg_id, Protobuf msg, const int[] players, int playersNum, bool reliable, bool init)
Called when a protobuf based usermessage is hooked
Message index.
Handle to the input protobuf.
Array containing player indexes.
Number of players in the array.
True if message is reliable, false otherwise.
True if message is an initmsg, false otherwise.
Ignored for normal hooks. For intercept hooks, Plugin_Handled blocks the message from being sent, and Plugin_Continue resumes normal functionality.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.