OnClientObjectMoveStop: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
(Remove obsolete Requirements section)
 
Line 20: Line 20:
)
)
</syntaxhighlight>
</syntaxhighlight>
==Requirements==
{{Requirements|n/a|1.5.8-9.20811|}}


==See Also==
==See Also==

Latest revision as of 17:27, 7 November 2024

This event is triggered when an object's movements stop.

Parameters

None.

Source

The source of this event is the object which was moved.

Example

local obj = createObject (5239, -2417.22339, -606.70374, 132.56250)
moveObject (obj, 3000, -2417.22339, -606.70374, 137.56250)

addEventHandler ("onClientObjectMoveStop", obj,
    function ()
        outputChatBox ("Object stopped moving!")
    end
)

See Also

Client object events


Client event functions