OnClientObjectMoveStop: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
(Add parameters section (without parameters))
Line 2: Line 2:
{{Client event}}
{{Client event}}
{{New feature/item|3.0159|1.5.8|20811|This event is triggered when an object's movement stop.}}
{{New feature/item|3.0159|1.5.8|20811|This event is triggered when an object's movement stop.}}
==Parameters==
No parameters.


==Source==
==Source==

Revision as of 18:56, 20 July 2021

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

Parameters

No parameters.

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("stopping moving object")
    end
)

Requirements

This template will be deleted.

See Also

Client object events


Client event functions