Theme editor

QBCORE Mumble Voip Fixes for Qbus

this might just be what I needed, was running against some issues with a different version, thank you!
 
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
 
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
 
something is wrong whit this skript since using nothing loads in propperly and laggs
 
skript werkt niet ik hoor alleen iemand als hij bij me in de auto zit geen aanrader
 
  • Post hidden due to user being banned.
  • Post hidden due to user being banned.
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=-
thanks for sharing script .
 
Back
Top Bottom