General Events
This page explains the available event for the r_scba script and its usage. This event allows other resources to interact with the SCBA system programmatically, especially to dynamically manage EUP components based on the SCBA state.
1. Client-Side Events
1.1 Set SCBA EUP State
Event Name:
r_scba:client:setSCBA
Description: Updates the player's SCBA EUP state by adding or removing specific components.
Parameters:
value
(integer): Determines the SCBA visual configuration.0
: Removes the SCBA EUP from the player.1
: Adds the unlinked SCBA EUP (e.g., without the mask connected).2
: Adds the linked SCBA EUP (e.g., full setup with mask connected).
This is especially useful when you want to attach an additional EUP component (such as a mask, tube, or chest accessory) depending on the SCBA state.
2. Example Usage
Here’s how you can register and handle the event in your client script:
Last updated