Are you sick of NPC Cops getting in your way, well tell them to GTFO with my new application.
client.lua (297 Bytes)
Installation Instructions…
- Click the download link under my well thought out introduction.
- Drag the file into your resource folder, found under your FXServer folder or TXData
- Add it to your Server.CFG. ensure NoCops / start NoCops
1 Like
Firstly:
Citizen.CreateThread(function()
for i = 1, 32 do
Citizen.InvokeNative(0xDC0F817884CDD856, i, false) -- EnableDispatchService
end
while true do
Citizen.Wait(0)
if GetPlayerWantedLevel(PlayerId()) ~= 0 then
ClearPlayerWantedLevel(PlayerId())
end
end
end)
This is the source code
Secondly this is hella inefficient, use this native: SET_MAX_WANTED_LEVEL - Cfx.re Docs
Please do not plug your stuff on mine, this took me 30 seconds to make and i put it out there so people can just throw it in there server if they have no idea what there doing.
I appreciate the effort but can you still take a look at the native? Also I did not plug my stuff onto yours as that is YOUR source code. I just took the liberty to note which native you are using as it has since been translated.