L L4D2node

Filter_SendBan

0x001efa50 · 43 bytes · __cdecl

_Z14Filter_SendBanRK8netadr_s

Decompiled

undefined (1 param)

/* Filter_SendBan(netadr_s const&) */

void Filter_SendBan(netadr_s *param_1)

{
  NET_OutOfBandPrintf(1,param_1,"%cBanned by server\n",0x6c);
  return;
}

SourceMod gamedata

paste into addons/sourcemod/gamedata/<your_plugin>.txt
used as the SourceMod key — change to fit your plugin's convention
SourceMod library name (server / engine / matchmaking)

Just a Signatures{} block, ready to drop into a gamedata file. Wire it up in your plugin however you like - SDKCall, DHooks, raw memory ops, or anything else.



        

        

          

Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.

Return-type handling cheatsheet (DHookReturn)