Help me please to enable wanted level

i need help please how can i enable wanted level please respond!

Wanted level is enabled by default. You must have a resource that resets the wanted level to 0 if it goes above it.

Look for the native SetPlayerWantedLevel in your resources. https://runtime.fivem.net/doc/natives/#_0x39FF19C64EF7DA5B

1 Like

in what folder please im new to scripting

The resources folder.

If you have a Linux VPS for your server, grep can help. From your server-data directory:
grep -R "SetPlayerWantedLevel"

im on windows please help me in what folder is it

…the resources folder.
One of your resources is causing it.

do you know what resource exactly ?

those are all !

ONE OF THEM!

Please learn how to use a code editor. Open the resources folder and do a Find All for SetPlayerWantedLevel.

Don’t know what code editor to use or what Find All is? Google is your best friend.

This is one of the most basic things one must know when programming.

i will renounce is too hard to go to all my folders to search this thing.

Use find all.

To be blunt, if this is too difficult of a task for you, perhaps running a server isn’t for you. Or an automated approach like Zap Hosting.

found thisimage

is this???

Maybe, that’s the one , but as you can see

if cop then
   -- this statement will disable your wawnted level [ IF YOU"RE COP == TRUE]
end

Do you sure , that your cop variable isn’t false? and the wanted level never goes up?
If you’re, there might be another resource disabled it

if you are using lambada or vmenu or meneyoo it is they that prevent the wanted level

es_extended check the config, youll need to restart server