OnTrailerAttach: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (See Also for server events)
Line 28: Line 28:
</syntaxhighlight>
</syntaxhighlight>


==See Also==
{{See also/Server event|Vehicle events}}
{{Event_functions}}
 
[[Category:Needs Example]]
[[Category:Needs Example]]

Revision as of 17:53, 12 January 2008

This event is triggered when a trailer is attached to a truck.

Parameters

vehicle theTruck
  • theTruck: The truck vehicle that got attached to this trailer

Source

The source of this event is the trailer vehicle that the truck got attached to.

Cancel effect

If this event is canceled, the trailer will detach from the truck again.

Example

This example does...

--This line does...
blah()
--This line does this...
mooo

See Also

Vehicle events


Event functions