[Release-Archived] Cops FiveM

@Royalko :
First issue => please send me your server logs
Second issue => detective’s uniform = incognito cops (not an issue)
Third issue => go to the armory to have weapons
Fourth issue => not cop whitelist or not cop on-duty ?

@xLukker : It is the right function, but maybe not the right prop id, you have to find the right id

You probably did something wrong with your banking. Other than that, the rest of your “issues” are pretty much intentional. You have to get weapons from the armory, there is no “undercover uniform”, you aren’t supposed to be a cop when you leave the server or die. If you want those things, you’ll have to put them in yourself.

1 Like

Then on what folder i have to put the file? cause can be that the problem… :smiley:

@Stoic_Martyr :

Clock in as Detective is undecover uniform

@xLukker :

I don’t know, check on the forum

SetPedPropIndex(GetPlayerPed(-1), 0, 46, 0, 2)

This does not seem to work to add the hat. Not sure why it won’t add it to player

Yeah. I meant that it’s not supposed to be a police uniform. It’s just your regular clothes.

1 Like

I can’t post here server log because low hosting doesn’t support it.
I’m sorry, didn’t know about detective’s uniform.
Armory is only in HQ on Sinner St?
I’m still whitelisted but after death I’m no longer cop on-duty.

hey, that script is great!

I want to remove all notifications to avoid spam on the left side of the screen but I can’t find where to deactivate them…
any suggestions?

thank you!

@Royalko :

Use pastebin or something like that for your file
You can add more armory here : https://github.com/Kyominii/Cops_FiveM/blob/master/police-fxserver/client/client.lua#L58
It is normal that aren’t a cop anymore when you die, if you are using emergency modify this : https://github.com/Kyominii/Cops_FiveM/blob/master/police-fxserver/client/client.lua#L250
If you’re not using emergency, modify this : https://github.com/Kyominii/Cops_FiveM/blob/master/police-fxserver/client/client.lua#L595

@danti :

Here are the functions which are control notifications : https://github.com/Kyominii/Cops_FiveM/blob/master/police-fxserver/client/client.lua#L267

Which file do you mean?

I mean this sentence: “Use pastebin or something like that for your file”. I thought you want copy one of my server’s file.

Ohh sorry, I’m kind of stressed/tired ^^’
I’m mixing several topics :man_facepalming:

So, no I want your server logs (text which are display on your server)

thank you! that will do the job!

How would I fix this… I tired some things and it didn’t seem to help… :stuck_out_tongue:

Which database are you using ? (mysql, lysql-async or couchdb)

Hi, And good morning FiveM.net, I was trying to install this and fs_freeroam, when I tried i was loading in and it paused at the initializing server. How come?

I’m using couchdb for this.

How are you using Couch DB?

Because it supports couchdb? It says it supports it right at the top. First thing it says in “Features”…

2 Likes