Jump to content
×
×
  • Create New...

FivePD v1.1.2 - Update


Message added by Ray

For support or assistance please use the FivePD Support forum. Please do not request for help/troubleshooting in this announcement. Thank you!

Recommended Posts

 

 

Note: Since v1.1, you must be in a department to open the callout menu / receive callouts!

Added
  • Callout configuration for bundled callouts
    Single callout config example:
    {
        "Probability":1,
        "MinTimeout":0,
        "IgnoreDistance":true,
        "Departments":[3,6,7]
    }
    Multiple callout config example (Requires the name of the callout class):
    {
      "OversizedCar":{
        "IgnoreDistance":false,
        "MinTimeout":0,
        "Probability":2,
        "Departments":null
      },
      "StolenFireTruck":{
        "IgnoreDistance":false,
        "MinTimeout":0,
        "Probability":2,
        "Departments":[3,6]
      }
    }
  • Allowlist
    To enable allowlist, you must add the "Allowlist" config option in the config.json: "Allowlist":true.
    Commands: (You must be an MDT admin! - isAdmin:1 in the database)
    • /fivepd add <player's server id>
    • /fivepd remove <player's server id>
  • components option for weapons. This is optional, so you don’t need to include it if you don’t want to. You can find the list of the components here.
  • Discord bot features (Invite the bot to your Discord server)
    • Off duty notification now displays the on-duty time
      duty.png
  • New rank management system (Please note that it is experimental, unexpected errors may happen)
    (Removed XP system - was buggy and pointless)
    • Fully working and customizable rank permissions, such as kick, accept, promote/demote lower ranked members (Permissions are not inherited!)
    • Rank priority (lower rank priority number = you can't kick / promote if you are in a higher rank priority)
      image.png
Fixed
  • Couldn’t initiate traffic stop or use MDT in some vehicles
  • Lower ranked members were able to kick everyone
  • Ranks with `callsign change permission`  could not change others' callsign
  • Could spawn objects in vehicle
  • Couldn’t stop ped again if they fled or attacked the player
  • “Small cone” and “Big cone” spawning was buggy
  • "Already in a department" MDT issue
API

Old callouts are still compatible, these are NOT breaking changes. You don't necessarily need to update your callouts.

How to update (from v1.1 hotfix)
  • Replace
    • computer folder
    • CalloutManager.net.dll
    • CalloutManagerServer.net.dll
    • FivePD_client.net.dll
    • TrafficStopServer.net.dll
    • FivePD.net.dll
  • MySql
    Execute the following commands in MySql
    • ALTER TABLE `ranks` DROP `xp`;
    • ALTER TABLE `users` DROP `xp`;
    • ALTER TABLE `ranks` ADD `rankNumber` INT NOT NULL DEFAULT '1' AFTER `canChangeCallsign`;
    • CREATE TABLE `fivepd`.`allowlist` ( `userID` INT NOT NULL , UNIQUE (`userID`)) ENGINE = MyISAM;
  • Like 1
Link to post
Share on other sites
10 minutes ago, JohnEmbaugh said:

I need help, I do not know where to run the commands. Haha sorry if this is super easy for you guys but ive tried running them in the SQL and it just gives me an error. 

You should use the support section for this not the comments of the post. https://gtapolicemods.com/index.php?/forums/forum/105-fivepd-support/

  • Like 1

TheCipher01

Community Team | Administrative Support

Link to post
Share on other sites
  • Ray featured and pinned this topic
20 minutes ago, xxd3athfir3xx said:

small question  i d'ont have any uniform option in the menu 

It was removed in 1.1 you'll have to use a trainer like vMenu to spawn in peds now.

TheCipher01

Community Team | Administrative Support

Link to post
Share on other sites
  • Ray unfeatured and unpinned this topic
  • Ray locked this topic
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.