OnPlayerQuit: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 6: Line 6:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
void onPlayerQuit ()      
void [[onPlayerQuit]] ( string reason )  
</syntaxhighlight>  
</syntaxhighlight>  



Revision as of 19:03, 18 November 2006


This event is blahblah and is used for blahblah.

Syntax

void [[onPlayerQuit]] ( string reason )   

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo