OnClientObjectMoveStart

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

BETA: FROM VERSION 1.5.8 r20811 ONWARDS
This event is triggered when an object starts moving.

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("onClientObjectMoveStart", obj,
    function()
        outputChatBox("started moving object")
    end
)

Requirements

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

Note: Using this function/event 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

BETA: FROM VERSION 1.5.8 r20811 ONWARDS


Client event functions