onClientObjectMoveStop | Multi Theft Auto: Wiki Skip to content

onClientObjectMoveStop

Client-side
Server-side
Shared

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

Parameters

This event does not pass any parameters to the handler function.

Source

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

Code Examples

client
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
)