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



Revision as of 14:46, 17 October 2006


This event is blahblah and is used for blahblah.

Syntax

void onPlayerWeaponSwitch ( int previousWeaponID, int currentWeaponID )

Example

This example does...

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