Jump to content
×
×
  • Create New...
  • 0

FivePD Duty Menu


Reason for Locking
No response after 24 hours. If issues persist, create a new support thread.

By NorthCam18, on 07/26/20 04:45 PM.

Question

How would i replace the regular police cars with addon els cars? Is it possible to put addon cars in this menu to spawn from? 

i.e. 

 

{
    "police": [
        {
            "name""cvpi",
            "vehicle""cvpi"
        }
     
    ],
Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 0

  

Yes, you can replace the vehicles.

 

Just simply replace the names and spawn codes, and if you need extra spaces, copy the code below:

{
	"name:": "Vehicle Name",
	"vehicle:": "spawncode"
}

You can put it under the last one as many times as you want, just make sure that all of them have comas at the last bracket, except the final one.

Link to post
Share on other sites
  • 0
1 minute ago, Smanbg said:

  

Yes, you can replace the vehicles.

 

Just simply replace the names and spawn codes, and if you need extra spaces, copy the code below:


{
	"name:": "Vehicle Name",
	"vehicle:": "spawncode"
}

You can put it under the last one as many times as you want, just make sure that all of them have comas at the last bracket, except the final one.

so the way a did my code would be correct? I dont seem to see it in my duty menu. I dont want to use vanilla cars in the menu. 

Link to post
Share on other sites
  • 0
1 minute ago, Sterek said:

so the way a did my code would be correct? I dont seem to see it in my duty menu. I dont want to use vanilla cars in the menu. 

Your code is incorrect, you need to have comas at the last bracket for every one of them.

Link to post
Share on other sites
  • 0
5 minutes ago, Smanbg said:

Your code is incorrect, you need to have comas at the last bracket for every one of them.

[
        {
            "name""cvpi",
            "vehicle""cvpi"
        },
        {
            "name""Police 3",
            "vehicle""police3"
        },
        {
            "name""Police transporter",
            "vehicle""policet"
        },
        {
            "name""FBI",
            "vehicle""fbi"
        },
        {
            "name""FBI 2",
            "vehicle""fbi2"
        },
        {
            "name""Sheriff 1",
            "vehicle""sheriff"
        },
        {
            "name""Sheriff 2",
            "vehicle""sheriff2"
        }
    ],
Link to post
Share on other sites
  • 0
6 minutes ago, Smanbg said:

Your code is incorrect, you need to have comas at the last bracket for every one of them.

This is how i have my code setup but the cars don't show up on duty menu.

 

Link to post
Share on other sites
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

Important Information

Please view the site: Terms of Use, Privacy Policy, and Guidelines. // IMPORTANT: We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.