It is possbile to make the plugin just for police not for peds ?
Hello. Can someone tell me how to make it works with cusotm characters? Cuz I really want this script!
I added this to the code right before the first if and canāt get it to work. What am I missing? I only want this job to use it, beceause I donāt use peds. Only the MP ped. Without this everyone can use it.
if PlayerData.job ~= nil and PlayerData.job.name == 'police' then
Edit: Oh well finally figured that out since I whitelist the mp model. Heres the code that has to be before the function:
local PlayerData = {}
ESX = nilCitizen.CreateThread(function()
while ESX == nil do
TriggerEvent(āesx:getSharedObjectā, function(obj) ESX = obj end)
Citizen.Wait(0)
end
end)RegisterNetEvent(āesx:playerLoadedā)
AddEventHandler(āesx:playerLoadedā, function(xPlayer)
PlayerData = xPlayer
end)RegisterNetEvent(āesx:setJobā)
AddEventHandler(āesx:setJobā, function(job)PlayerData.job = job
end)
and this right after citizen wait. dont forget to close the if loop with and end:
if PlayerData.job ~= nil and PlayerData.job.name == āpoliceā or PlayerData.job ~= nil and PlayerData.job.name == āambulanceā then
So i have client sided eup but when i use the PTTPoliceRadio i have a belt and radio but when i put my weapon up it disappears and i canāt change to a vest or such. Is there a way to change this? Is there a way to just have the holstered bit and be able to switch my vest still? - NVM Got it fixed
hey guys i ve put this resource to my server and nothing happens,i am running es5 ,i ve tried to put it on top of config file,do i have to put the skin model on the lua cause i saw there are some skins types there?i tried with pistol but still nothing happens.
animations are not working on my server, i dont know why
unable to get this to work after several different alternations and attempts
Hi, I have had the script for some time now, and I have both InteractSound and PTTPoliceRadio, but I am still not hearing any sound. What could be the problem?
Does not work ā¦
You have to change it to something other than LAlt. For instance, I play with a controller, so I changed my PTT to I (i) and bound I to my UP D-pad using controller companion, set my holster anim to RIGHT D-pad and havenāt had issues.
Is there a possible to make it work on custom characters I mean not on peds but with own created character in game?
If you mean the standard Mr. Clean that you can customizeā¦
add
"mp_f_freemode_01",
"mp_m_freemode_01"
to the client.lua
Thank you sir! Iāll check this out.
I have two little problem. First Iāve got grey vest idk why and I canāt delete this and second problem is no one can hear me (I have only radio sound) and third problem is every people can use it even if they are working in taxi any help? Iāll appreciate ready script but I think there is small chance on that ;p
Everything works, only everyone has Kulo-resistant vests. What to do?
When trying to use PTT Radio I can hear radio specific radio sound and it animates hands on the back like getting handcuffed. https://media.discordapp.net/attachments/455024366091108352/483245622565273600/unknown.png?width=1202&height=677
yes me too
Just to note and clear up some confusion, because I get these questions every few daysā¦
- This is NOT a VOIP script
- Designed to work with DEFAULT police peds only
- Using MP peds or EUP WILL have varied results - use at your own risk!
- "Can you make it work with blah, blah, blah?" Short answer, no. Script is provided as is. If youād like to expand on it to work with ESX jobs for example, all the power to you. Just get permission before making a release.
I will send someone config because the original one does not work