OnPlayerWeaponSwitch: 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 onPlayerWeaponSwitch ( int previousWeaponID, int currentWeaponID )
void onPlayerTask ( string priority, int type, string name )
</syntaxhighlight>  
</syntaxhighlight>  



Revision as of 14:28, 17 October 2006


This event is blahblah and is used for blahblah.

Syntax

void onPlayerTask ( string priority, int type, string name )

Example

This example does...

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