opx_infinitytheme
Events
Last updated on
Network events and page channels of the theme module.
opx:net:theme:request
Client → server. "What is the theme?" Sent once per client start. Answered at most every 2 s per player.
TriggerServerEvent('opx:net:theme:request')opx:net:theme:set
Server → client. The resolved theme. The client checks it against the same bounds again.
RegisterNetEvent('opx:net:theme:set', function(payload) end)- payload:
table— asCurrentreturns it