Client Exports
Get Water Level
This client-side export is designed to enable external access to the vehicle's water tank level. It returns a float value upon successful execution and provides a nil response along with an error message in string format if it fails.
Get Foam Level
This client-side export is designed to enable external access to the vehicle's foam tank level. It returns a float value upon successful execution and provides a nil response along with an error message in string format if it fails.
Set Water Level
This client-side export is intended to facilitate external control of vehicle water tank levels. It will return a boolean value along with the updated water level if the execution is successful, and return nil along with a string error message in the event of a failure.
Set Foam Level
This client-side export is intended to facilitate external control of vehicle foam tank levels. It will return a boolean value along with the updated foam level if the execution is successful, and return nil along with a string error message in the event of a failure.
Is Pump Engaged
This client-side export is intended to provide external access to the status of vehicle pumps. It will return a boolean value, either true or false, based on the pump's status. A return value of true indicates that the pump is engaged/enabled, while a return value of false signifies that it is disengaged/disabled. In the event of a function failure, it will return a nil value along with an error message string.
Set Pump Status
This client-side export is designed to enable external monitoring of the vehicle's pump status. It will return true along with the updated status of the pump if the operation is successful, or it will return nil accompanied by an error message string if the export fails.
Has Supply
This client-side export is designed to provide external information regarding whether a vehicle has a connected supply. The export will return a boolean value indicating the presence of a supply, provided that the export is successful. If the export fails, it will return nil along with an error message.
Open Pump Panel
This client-side export is designed to facilitate greater integration. It will access the pump interface of the vehicle you are examining. Please note that this export will only return nil along with an error message string, indicating that an issue has occurred within the function.
Is Using Hose
This client-side export is designed to assist with integration into fire resources, this export will only return true when the hose is being sprayed and particles are emitting otherwise this export returns false.
Return Hose
This client-side export is designed to assist with integration into fire resources, this export will only return true when the hose is being sprayed and particles are emitting otherwise this export returns false.
This page is not yet complete.
Last updated