$200 Steam Giftcard Raffle | Sponsored by TF1A3 ×
Jump to content
×
×
  • Create New...

Search GTAPoliceMods

Showing results for tags 'extra'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community News
    • Community Announcements
    • Community Spotlight
    • Community Events
  • FivePD
    • News & Updates
    • FivePD Discussion
    • FivePD Support
    • FivePD Showcase
    • API Development
    • FivePD Help Docs
  • Community Discussion
    • General Discussion
    • Law Enforcement Worldwide
    • Member Introductions
  • GTA:V Modifications
    • GTA:V Discussion
    • GTA:V Showroom
    • GTA:V Knowledgebase
  • Other GTA Titles
    • GTA:IV Discussion
    • GTA:SA Discussion
  • Community Support
    • GTA:V Support
    • GTA:IV Support
    • GTA:SA Support
    • Other Support
    • Website Support & Feedback
    • Marketplace Deal Disputes
  • Lore-Friendly Gang's Discussions
  • Inferno Collection's Q&A
  • Inferno Collection's Sneak Peeks
  • Vape Nation's Show off your pens!
  • code5mods's Suggestions
  • Billy J modifications's Suggestions
  • Billy J modifications's Announcements
  • The Salt Factory's DCS World
  • COVID-19 Survival Squad's Are you dead yet?
  • Phoenix USA's Topics
  • Phoenix USA's Questions
  • Kings Workshop's Question & Answer
  • Walters' Workshop's Topics
  • Lucky's Corner's Development Log
  • FivePD Economy's Suggestions
  • FivePD Economy's Bug Reports
  • FivePD Economy's Dev Updates (Topics)
  • California Emergency Services RP's General Talk

Categories

  • Community Guidelines
  • Community F.A.Q.
  • Member Resources
  • GPM Development Studios

Categories

  • GPM Development Studios
    • Official Releases
    • FivePD Modifications
  • Grand Theft Auto V
    • Vehicles
    • Ped Models / EUP
    • Dev Support
    • Scripts / Misc
  • Grand Theft Auto IV
    • Vehicles
    • Dev Support
    • Scripts / Misc
  • Grand Theft Auto SA
    • Vehicles
    • Dev Support
    • Scripts / Misc
  • Vivid Studios's File Downloads
  • Walters' Workshop's Beta Test

Categories

  • FivePD
    • FivePD Bugs
    • FivePD Suggestions
  • Website
    • Website Bugs
    • Website Suggestions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gender


Discord Username


Steam Username

Found 2 results

  1. Version 1.0.0

    16 downloads

    This plugin was EXTREMELY DIFFICULT to make, and I couldn't do it alone. A HUGE thanks for the assistance to @Grandpa Rexand @Natixco My Discord: https://discord.gg/GmNua4ZY9K Open Source: https://github.com/gggdunlix/FivePD-Set-Extras-in-Vehicles.json HOW TO USE: 1. The DLL file must be put in your plugins folder 2. Your FivePD resource folder name must be exactly "fivepd" (without quotes) 3. Configure you vehicles.json It should look something like this: { "vehicle": "BCSO1", "name": "Charger (18)", "isAvailableForEveryone": false, "useRanks": false, "availableForDepartments": ["2"], "extras": [3, 5, 7, 8, 10] }, This makes it so the vehicle "bcso1" appears in duty menu with name "Charger (18)", isn't available for anyone, doesn't use ranks, is available for only department 2, and it uses extras 3, 5, 7, 8, and 10. You also have the ability to set it as "extras": "all" and "extras": "none" to force all/no extras enabled. Make sure that there are no JSON errors. for example, I made sure there is a comma after "availableForDepartments": ["2"], Examples: { "vehicle": "BCSO1", "name": "Charger (18)", "isAvailableForEveryone": false, "useRanks": false, "availableForDepartments": ["2"], "extras": [3, 5, 7, 8, 10] }, The BCSO1 has extras 3, 5, 7, 8, and 10 activated in **vehicles.json**. (These are lights, cameras, and roof items, etc) so they are activated by default in-game when spawned with duty menu. { "name": "Fire Truck", "vehicle": "firetruk", "isAvailableForEveryone": false, "useRanks": false, "availableForDepartments": ["6"], "extras": "none" }, The fire truck is set to have no extras, so the ram and it's other extras are default disabled when spawned with duty menu { "name": "UM Cruiser", "vehicle": "police4", "isAvailableForEveryone": false, "useRanks": false, "availableForDepartments": ["2", "5", "4"], "extras": "all" }, The Unmarked Cruiser is set to have all extras enabled, so the Push bar and spotlights are enabled by default.
  2. Version 1.0.0

    280 downloads

    Hey pals, it's your old friend Lucky. Today, I'm just providing a very simple chat-based script as more and more vehicles have optional extras like cruise lights, park lights, multi-staged lighting, and more. This script was made for my own personal server as it has grown increasingly frustrating to utilize all of the awesome features that have drawn us to some of the vehicles out in the community. ABOUT • • • • • This simple script utilizes chat commands to toggle extras. This script is not dependent on any specific vehicles, as it simply checks whether or not a vehicle has an extra in the slot you're attempting to toggle, and if it does it turns it on or off under the same command. CONTROLS • • • • • The commands are short and sequential to minimize confusion. COMMAND: /e[EXTRA NUMBER] EXAMPLE: /e1, /e2, /e3, /e4... If you wish to change the chat command this script utilizes, simply alter the following value for each command in the client.lua: RegisterCommand("e1", function(source, args, raw) Whereas the current command is registered as "e1", alter this to your desired command. Here's an example: RegisterCommand("extra1", function(source, args, raw) This script supports up to what I understand to be the maximum extras in GTA -- 14. If this is incorrect, simple copy and paste the command and adjust the necessary values. If you aren't sure, just check back here and I will likely have updated it, or can provide an update as necessary. Additionally, if you want to take this a step further, combine this script with the RadialMenu as seen on the FiveM forums, which will allow you to create a usable wheel-based menu to select these options while in a vehicle as well. PLANNED ADDITIONS • • • • • Nothing! This script is, as stated, beyond simple in its form, purpose, and intent. While there are a number of chat toggles for vehicle commands, my Google-Fu suggests either nobody has released this bad boy because it's that simple, or I'm just bad at Googling. No matter the case, it's here for you to use -- if there is a particular feature you wish to add in like a /toggleall, then by all means go ahead and do so. Feel more than free to comment any contributions or expansions you've made that you wish to share with others.

Important Information

Thanks for visiting GPM. As a user of the GTAPoliceMods platform, we ask that you review the Terms of Use, Privacy Policy, and Guidelines. These principles allow us to continue fostering a great community. We have placed cookies on your device to help improve your experience. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.