RX Scripts Logo
Recyclers

Events

All client- & serversided events included within this script. Events serve as listeners that capture and respond to actions executed by this script.
If additional events are required for your implementation, please submit a formal request through our ticketing system on the official Discord server.

Server Events

recyclers:onRecyclerToggled

Triggered after a recycler is toggled on or off by a player.

RegisterNetEvent('recyclers:onRecyclerToggled', function(recycler, togglerId, status) end)
recycler
table

Data of the recycler that was toggled.

togglerId
number|nil

Source of the player who toggled the recycler or nil if the toggle was not initiated by a player.

status
boolean

Status of the recycler after toggling: true for on, false for off.

Client Events

No client-sided events available at this time.