Browse docs
Carry
Action hooks for the patient carry system.
Actions
| Action | Side | Description |
|---|---|---|
carry:start | client | The medic started carrying a patient. |
carry:stop | client | The medic stopped carrying a patient. |
Context
carry:start
| Field | Type | Description |
|---|---|---|
targetId | number | Server 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