Skip to content

Releases: xSilvermanx/PD5M

v0.2.4 EUP 9.3

04 Jan 15:28
5a6cdad
Compare
Choose a tag to compare

This release updates the wardrobe to EUP-Version 9.3 and includes the option to save your outfits. It also includes Armories for Tow Trucks and Fire Departments with Fire Extinguishers and Jerry Cans.

  • Armories and Wardrobe have been updated to EUP 9.3
  • Json-Database to save outfits for each department
  • BCSO has changed to LSSD
  • Added Support for SAHP-Station LaMesa by Matus and LSPD-Station Del Perro Pier by Pablito
  • Added TP-markers at every department, removed /tp-command
  • Added the rank-command into the wardrobe, removed /rank-command
  • Added Vehicle-Repair and -Impound/Deletion Markers. They are located at every tow truck station and a few police stations
  • Ped Props now get removed when you open the uniform tab in the wardrobe

Mostly OneSync-ready update

05 Oct 20:51
f9976a7
Compare
Choose a tag to compare

This release is not useable with normal FiveM however it should be much more stable with OneSync. Note that coroner and towtruck might be very unreliable.

Fixed peds and vehicles not having synced wanted status
Fixed peds randomly spawning arrested (that was a fun one)
Fixed Sandy Shores Bamboozled Station having the wrong handle name
Fixed some custom police vehicles spawning with neon light
Fixed "Unknown command" error popping up in chat for ESX
Added ESX ambulance and fire department to whitelisted players (they can
use the different menus)
Fixed some vehicles not being able to transport arrested peds even
though it theoretically should be possible
Removed "Firstname Surname" from the ped search for easier entry of
names
Removed script that reset the player's clothes on death

Bugfixes

24 May 12:36
f3a7b60
Compare
Choose a tag to compare
  • Fixed a bug where the permission system for ESX and vRP didn't work at all.
  • Fixed medic stations not being loaded properly.

Usability Update

15 May 16:51
d71f54d
Compare
Choose a tag to compare
  • Updated __resource.lua to fxmanifest.lua
  • Included Variables in fxmanifest.lua to easily activate and deactivate the files you need

Hotfix: Clothing stays the same upon player death

13 May 21:20
7a3ad6a
Compare
Choose a tag to compare

The wardrobe update

13 May 20:00
3b2d613
Compare
Choose a tag to compare
  • Completely rewrote the wardrobe to feature much better customizability
    of your mp-ped
  • Full support for EUP Law & Order + Serve & Rescue
    • To utilize the EUP-wardrobe, use the EUP Serve & Rescue
      Pack
      .
      Only install the eup-stream part of the download, you neither need
      NativeUI nor eup-ui for the PD5M-wardrobe to function
  • Added a check to keep you from opening the wardrobe without an mp-ped
  • Added fire department and paramedic wardrobe and garage for every
    hospital and fire station (no script-support, only for RP-purposes
    currently)
  • Added command /rank so you can set your department rank for every
    ingame department. Uniforms that can display rank insignia will display
    the appropriate rank insignia when choosing that piece of clothing in
    the wardrobe

Minor changes

  • Moved ESX and vRP-integration to new folder Integration
  • Removed debug messages in Ambient Event "Non Roadworthy Vehicle" that
    were in the live version on accident
  • Discovered, traced and removed a bug where only a "few" markers were
    displayed (turns out that there is a limit on how many markers can be
    displayed at all. I seem to have reached that quite fine :-P). As an
    unintended side effect performance of PD5M was improved from 0.6 CPU
    msec to 0.2 CPU msec

Ambient Events

01 May 17:23
b9948a4
Compare
Choose a tag to compare
  • Added a system that provides work for officers while on-duty
  • System works fully automatic, doesn't need to be activated nor started
  • Added ambient event: car ignoring red lights (randomized, more things may happen)
  • Added ambient event: car not in a road-worthy condition (randomized, different things may happen)

Tbh this is not the big update I was hoping to bring to you guys. However Callouts are a huge problem and the first version didn't work at all. Thus I completely removed the Callout-system to publish the mostly-working ambient events. I'll target callouts later on, an idea on how to get a dynamic system done does exist. However this will be extremely complicated so might take a long while.

More patchnotes, sorted for files:
common_cl_fct.lua:

  • Added sync to automatically create data for all entities when peds drive vehicles
  • Mission System Handler added: when using the SyncPedAndVeh()-function the mission system detects the used entities as interacted
  • Fixed a bug where vehicles and peds wouldn't have synced data if you used the CheckPlate()-command without prior interaction to the vehicle

config_cl.lua:

  • Edited the Standard Driving Behavior. The peds should now drive way more predictable, and should not overtake anymore after being stopped.
  • The towtrucks and coroners shouldn't drive the wrong direction of streets anymore.

station config Pillbox Hill Medical Center:

  • Markers at Pillbox Hill Medical Center now heal you instead of displaying the controls.

cleanupthreads_cl.lua:

  • Added events that trigger SetEntityAsMissionEntity and SetEntityAsNoLongerNeeded on every client
  • Added event that sets mission entities to wander if they exist
  • Added checks to make sure that mission entities properly get deleted and properly start wandering around after an interaction. Deletion of mission entities only works if the script doesn't get restarted.

def_gl.lua and dev_sv.lua:

  • Every custom list that was defined serverside only is now global (items, weapons, names, offenses, ...)
  • Serverside definitions of lists related to the mission system

interaction_cl.lua:

  • Fixed interaction with E-menu for players with ping > 200 (now problems will occur with a ping > 1000)
  • Changed the FinePed()-function so you can directly start typing a sum instead of deleting huge amounts of text
  • Upped the distance to grab peds using GrabPed()-function
  • included targetveh-support in pedflee()-event. Should properly delete cars now
  • peds in vehicles will now drive way slower when sending them on their way after a traffic stop
  • Fixed a bug that caused a crash of the interaction-script when trying to set weapons for a ped which shouldn't have them
  • Changed the speed at which the peds drive after interacting with you. Should be less speedy in the city, maybe a little bit too slow on the highway.
  • Upped the distances at which you can use RunPlate to reflect the changes made to TrafficStops
  • Set the max cruise speed of fleeing targets in vehicles higher and changed their driving style to be less chaotic. Chases should be harder now.
  • Deleted Blips for fleeing peds. Chases should be harder now.
  • Deleted Blips for hostile peds that get triggered through the interaction script.
  • Fixed a bug where peds you interacted with wouldn't get properly marked as no longer needed.

interaction_sv.lua:

  • Fixed a bug where illegal weapons for peds would generate out of the list for legal weapons thus rendering illegal weapons never used
  • Added flagismissionped which if set prevents dead bodies from despawning without calling a coroner. Used for mission peds.

markers_cl.lua:

  • Deleted large chunks of commented code that was left on accident
  • Changed the creation of the vehicle blip such that it is not named 'Getaway Vehicle' anymore

towtruck_cl.lua, towtruck_sv.lua, coroner_cl.lua and coroner_sv.lua:

  • Changed distances and speeds of the coroner during approach and on-scene. Should behave way calmer now
  • Hopefully fixed a bug where the coroner would sometimes only pick up the first dead body. He'd go to every body, pick them up, the bodies would disappear and reappear almost instantly.
  • Fixed towtruck and coroner spawning with incorrect orientation (should work 95% of the time now, last 5% are not a bug but a result of how the script works)

startup_cl.lua:
Deactivated dispatch services for cruising PD and pulled over PD

Several bugfixes

03 Apr 21:19
550c081
Compare
Choose a tag to compare

Fixed a bug that had LaMesa-coroners spawn under a bridge on Los Santos Freeway
Fixed a bug that caused radialmenu to be stuck open when opening chat
Changes to tow and coroner-scripts to hopefully improve their behavior
Sorted __resource.lua-config options
Added three tow truck-stations

The Console Peasant Update v0.1.3.2

31 Mar 17:24
1fd6335
Compare
Choose a tag to compare

Rewrote coroner and tow stuck check. They will hopefully do their duty way more reliable.

Still the console peasant update

29 Mar 20:01
c6e8b9d
Compare
Choose a tag to compare

v0.1.3.1 Patch Note

  • Fixed a bug related to multicharacter-scripts in ESX / vRP that caused a crash of radialmenu.