REC_HeistManager
Exports
Installation, configuration, and usage for REC_HeistManager.
- Added
- Updated
Server side
register
Register a heist’s server configuration. See server/sv_main.lua in REC_HeistTemplate for a complete example.
| Argument | Type | Description |
|---|---|---|
heistConfig | REC_HeistManager.Server.Main.Register.Param | Locations, phases, orders, rewards, and other server settings |
Returns boolean.
exports.REC_HeistManager:register(heistConfig)
advancePhase
Moves a running heist location to the specified phase. Only the resource that registered the heist may call this export.
| Argument | Type |
|---|---|
heistKey | string |
locationKey | string |
phaseIndex | integer |
Returns: boolean.
exports.REC_HeistManager:advancePhase(heistKey, locationKey, phaseIndex)
Client side
registerClient
Register client presentation, interactions, and animations.
| Argument | Type | Description |
|---|---|---|
registration | REC_HeistManager.Client.Main.RegisterClient.Param | Client-side heist configuration |
Returns boolean.
exports.REC_HeistManager:registerClient(registration)
