saltychat-fivem icon indicating copy to clipboard operation
saltychat-fivem copied to clipboard

Radio as item

Open fabiohouse opened this issue 3 years ago • 2 comments

Hello, How can i restrict the use of radio only if user have the "radio" item in inventory? 👍

fabiohouse avatar May 24 '22 16:05 fabiohouse

There is no integration into any other framework, we only provide standalone resources. You'd either have to modify the script yourself or we could implement an enable/disable export. Such an export could be used to monitor the players inventory (preferably with a hook when an item was added/removed) and disables/enables the usage of the radio.

BlackFlash5 avatar Jun 21 '22 19:06 BlackFlash5

Hello, Thanks for the answer. I Will apreciate if you build an export to switch on or off the radio. This feature can give me a lot of possibility for example: switch off the radio if the player are swimming.

Thanks for your time, Fabio.

fabiohouse avatar Sep 21 '22 17:09 fabiohouse