Blocks every outgoing packet with a given id, so they are dropped before sending without needing a hook. Undo it with raknet.unblock.

Parameters

number
required
The packet id to block.

Example

Errors