Template:Testing stuff: Difference between revisions
No edit summary |
No edit summary |
||
| Line 12: | Line 12: | ||
<div style="border | <div style="border: 2px solid #67217A;padding: 0px 0px 1px 5px; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5);"> | ||
<h1 style="border-bottom: | <h1 style="border-bottom: 2px solid #67217A;">C# Syntax</h1> | ||
<h3 style="border-bottom: 2px solid #67217A;">Parameters:</h3> | |||
* '''Window''': wtf men??? | |||
<h3 style="border-bottom: 2px solid #67217A;">Example:</h3> | |||
<source lang="cpp"> | |||
function onExit() | |||
{ | |||
log( "Client Script Exited!" ); | |||
} | |||
addEventHandler( "onClientScriptExit", onExit ); | |||
</source> | |||
</div> | </div> | ||
Revision as of 12:16, 27 November 2018
C# Syntax
Parameters:
- Window: wtf men???
Example:
function onExit()
{
log( "Client Script Exited!" );
}
addEventHandler( "onClientScriptExit", onExit );