Lua Events/OnMechanicActionDone
< Lua Events(Redirected from Lua Events/OnMechanicActionDone)
Event
OnMechanicActionDone
Description
Triggered when a player finished a mechanic action.
Parameters
- IsoGameCharacter The character who performed the mechanic action.
- Boolean Whether the machanic action was successful or not.
- Integer The identifier of the vehicle on which the mechanic action is being performed.
- String The vehicle part identifier that is being installed or removed.
- Long The item identifier used to perform the mechanic action.
- Boolean Whether the vehicle part is being installed or removed.
Examples
local function OnMechanicActionDone(character, success, vehicleId, partId, itemId, installing) -- Your code here end Events.OnMechanicActionDone.Add(OnMechanicActionDone)
See also
No related event.