QBUS Mumble Voip Fixes for Qbus

J

JOUKYUU

Guest
this might just be what I needed, was running against some issues with a different version, thank you!
 

yt_gamingjens

New member
Credits
0
Code:
- Drag and drop this voip script into resources folder
- Add "start voip" after your base script in resources.cfg
- Open your phone script and search for "tokovoip_script" and replace every word with "voip"

---------------------------------------------------------------------------
Example :

[Original line] : "exports.tokovoip_script:removePlayerFromRadio(X)"
[Edited line] : "exports.voip:removePlayerFromRadio(X)"
---------------------------------------------------------------------------
- Do the above setup in each and everywhere you want to add mumble voip instead of tokovoip.
- Go to your police/client/job.lua and add the following text where you toggle duty.
------------------------------------------------
if not onDuty then
?  exports["voip"]:GivePlayerAccessToFrequency(1)
else
?  exports["voip"]:RemovePlayerAccessToFrequency(1)
end
------------------------------------------------
- If you want to allow police to have more access to radio, repeat these lines.
- Do the same thing with EMS or whatever script you want to.
- Use the radio item and normal player can access all frequencies except 1-10.
- This is fully public script please don't resell this.

-=Stripped Content=-
noiice
 

mayoraka

New member
Credits
0
Code:
- Drag and drop this voip script into resources folder
- Add "start voip" after your base script in resources.cfg
- Open your phone script and search for "tokovoip_script" and replace every word with "voip"

---------------------------------------------------------------------------
Example :

[Original line] : "exports.tokovoip_script:removePlayerFromRadio(X)"
[Edited line] : "exports.voip:removePlayerFromRadio(X)"
---------------------------------------------------------------------------
- Do the above setup in each and everywhere you want to add mumble voip instead of tokovoip.
- Go to your police/client/job.lua and add the following text where you toggle duty.
------------------------------------------------
if not onDuty then
?  exports["voip"]:GivePlayerAccessToFrequency(1)
else
?  exports["voip"]:RemovePlayerAccessToFrequency(1)
end
------------------------------------------------
- If you want to allow police to have more access to radio, repeat these lines.
- Do the same thing with EMS or whatever script you want to.
- Use the radio item and normal player can access all frequencies except 1-10.
- This is fully public script please don't resell this.

-=Stripped Content=-
nice release bro
 
Top