Scripting/Client/Events/onScriptUnload
The client is disconnecting or reloading. Last chance to clean up.
Contents
Syntax
onScriptUnload()Example
function onScriptUnload()
{
Message( "onScriptUnload fired" );
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- onScriptLoad
- onClientSpawn
- onClientRender
- onClientCommand
- onClientMouseMove
- onClientMouseClick
- onClientMouseWheel
- onClientKeyStateChange
- onGameWindowResize
- onObjectShot
Section: Client events
Categories: Client events | Client events