OnClientObjectMoveStart

From Multi Theft Auto: Wiki
Revision as of 22:36, 21 January 2021 by Turret001 (talk | contribs) (added New feature tag)
Jump to navigation Jump to search

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

This template will be deleted.

See Also

Client object events


Client event functions