Parameters
number
required
The packet id to test.
Returns
boolean
true if the id is blocked.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Test whether a packet id is blocked.
raknet.isblocked(id: number) -> boolean
getgenv() rather than as a plain global. Guard your
code with if getgenv().raknet then ... end, or read
raknet.is_enabled.true if the id is blocked.print(raknet.isblocked(0x83))
| Message | Condition |
|---|---|
argument 1 must be a packet id | id was not a number. |