Browse docs

Carry

Action hooks for the patient carry system.

Actions

ActionSideDescription
carry:startclientThe medic started carrying a patient.
carry:stopclientThe medic stopped carrying a patient.

Context

carry:start

FieldTypeDescription
targetIdnumberServer ID of the patient being carried.

carry:stop

Empty context {}.

Example

client.lua
exports["sky_ambulancejob"]:onAction("carry:start", function(ctx)
    print("Now carrying patient " .. ctx.targetId)
end)

exports["sky_ambulancejob"]:onAction("carry:stop", function()
    print("Stopped carrying")
end)

Support

Need help? Our support team is always ready to assist

Join Discord