I’ve server Fx RolePlay and i’ve problem with poloce job problem is when police shoot there are wanted so, i’m looking for someone can do a script never wanted for job police
i put the id of job and script will work just for job police possible plz ?
plz free
sory for my bad english thank you all
Yo,
As the main script :
Citizen.CreateThread(function() while true do Citizen.Wait(0) if GetPlayerWantedLevel(PlayerId()) ~= 0 then SetPlayerWantedLevel(PlayerId(), 0, false) SetPlayerWantedLevelNow(PlayerId(), false) end end end)
Resource.lua :
client_script 'nocops.lua' (or whatever you wanna call it)
I’ll put it on my github if you want
i wanna remove cops juste for some player and this players are too cops you understand ? i know script no cops exist but i’m looking for someone can change this script, you understand ? thank you so much for help guys
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
If GetPlayerGroup(PlayerGoup(15)) then
SetPlayerWantedLevel(PlayerGoup(15)), 0, false
SetPlayerWantedLevelNow(PlayerGoup(15)), false
end
end
end)
you think work ? guys help 15 is ID of my job in mySQL
i need realy of your help
Better way to do this is:
CreateThread(function()
SetMaxWantedLevel(0)
local service = 0
while service < 15 do
EnableDispatchService(service, false)
service = service + 1
end
end)
1 Like