OnClientTrailerDetach: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
[[Category:Incomplete Event]]
[[Category:Incomplete Event]]
{{Client event}}
__NOTOC__
This event is triggered when a trailer gets detached from its towing vehicle.


__NOTOC__
==Parameters==
This event is blahblah and is used for blahblah.
<syntaxhighlight lang="lua">
vehicle towedBy
</syntaxhighlight>
*'''towedBy:''' the vehicle that was towing the trailer.


==Syntax==  
==Source==
<syntaxhighlight lang="lua">
The source of this event is the trailer that is now detached.
void onClientTrailerDetach ( vehicle towedBy )
</syntaxhighlight>


==Example==  
==Example==  
This example does...
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
--This line does...
 
blabhalbalhb --abababa
--This line does this...
mooo
</syntaxhighlight>
</syntaxhighlight>

Revision as of 16:55, 30 December 2007

This event is triggered when a trailer gets detached from its towing vehicle.

Parameters

vehicle towedBy
  • towedBy: the vehicle that was towing the trailer.

Source

The source of this event is the trailer that is now detached.

Example