Ensure the code is correct and in the correct location.
Basic Example:
<Duty>
<Peds>
<Agency>lspd</Agency>
</Peds>
<Vehicles>
<Agency>lspd</Agency>
</Vehicles>
<VehicleDescriptions>
<Description name="Police Cruiser" fullName="Vapid Police Cruiser" agencyRef="lspd">police</Description>
<Description name="Police Buffalo" fullName="Bravado Buffalo" agencyRef="lspd">police2</Description>
</VehicleDescriptions>
</Duty>
If you were to add an addon car to this list:
<Duty>
<Peds>
<Agency>lspd</Agency>
</Peds>
<Vehicles>
<Agency>lspd</Agency>
</Vehicles>
<VehicleDescriptions>
<Description name="Police Cruiser" fullName="Vapid Police Cruiser" agencyRef="lspd">police</Description>
<Description name="Police Buffalo" fullName="Bravado Buffalo" agencyRef="lspd">police2</Description>
<Description name="Addon Car" fullName="LSPD Addon Car" agencyRef="lspd">spawnname</Description>
</VehicleDescriptions>
</Duty>
Spawn Name is what the trainer will show when you go to spawn the vehicle.
Hey
I just got back to lspdfr after a long break
I installed all my plugins and booted the game but whenever I try to use the reloadallplugins command my lspdfr instantly crashes
Im sure its an outdated plugin or something like that,but I cant really figure out exactly whats causing my problem
RagePluginHook.log
I updated to the latest version and the issue still appear in my RPH log. I also tried remove EUP plugin and EUP dlc from my game and it neither solved the problem.
Sometimes I get memory error messegase even though I have limitadjuster increased to 40.000 in the .ini and the heapadjuster to 2.000 in the .ini, I also have gameconfig and resource adjuster and pool manager and some other crash preventing .asi files such as weaponlimitadjuster.
i think there is a problem with lspdfr because I uninstalled everything, and then when I installed lspdfr from the beginning again, it kept giving crash
[10/12/2024 9:21:46 PM.153] Failed to retrieve D3D call in reasonable time, changing hooking mode
Sure about a script or plugin problem, just save all the plugin and script, in another folder and restart the game without any script and plugin (don't remove the essential one)