VINDICTA.TOP
RakNet · Function
Bunni.fun
ChocoSploit
Cryptic
Potassium
Seliware
SirHurt
Solara
Velocity
Volcano
Volt
Wave
Xeno

raknet.remove_send_hook

Removes a previously registered RakNet send hook.

function raknet.remove_send_hook(callbackcallbackfunctionThe callback function to remove.: function): ()

Usage

Remove after first packet
local sendHook
sendHook = function(packet)
    print("ID:", packet.PacketId)
    raknet.remove_send_hook(sendHook)
end

raknet.add_send_hook(sendHook)