OnClientObjectMoveStop

From Multi Theft Auto: Wiki
Revision as of 22:23, 21 January 2021 by Cleopatradev (talk | contribs) (Created page with "__NOTOC__ {{Client event}} This event is triggered when an object moves stop. ==Parameters== <syntaxhighlight lang="lua"> </syntaxhighlight> ==Source== The source of this ev...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This event is triggered when an object moves stop.

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

Minimum server version n/a
Minimum client version 1.5.8-rc20811

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version client="1.5.8-rc20811" />

See Also

Client object events


Client event functions