opx_infinitygunsmith
Events
Last updated on
Network events of the gunsmith module.
Bench refusals arrive through opx:net:crafting:refused.
opx:net:gunsmith:chest
Client → server. Opens this armoury's chest.
TriggerServerEvent('opx:net:gunsmith:chest', armouryKey)- armouryKey:
string
opx:net:gunsmith:refused
Server → client. The chest was refused. The client toasts gunsmith.<code>.
RegisterNetEvent('opx:net:gunsmith:refused', function(armouryKey, code) end)- armouryKey:
string - code:
string— see Refusal codes