Everything posted by GTAbear
-
Crash-bug found (very special condition)
Under some very special conditions LSPDFR can crash I attempted to understand the default world-event Agitation I found a Ped in 'distress-state' Using the default menu for stopping a Ped i asked Ped to follow The Menu-interfase remain opened. An 'incident' tumbled the Ped, and the Ped ..died (Oooops...) The crash then occurred as i would shut down the Interaction-menu with menu-cmd Dismiss. I was here Dismissing a non-existent Ped, and the result was a crash of LSPDFR. I include log for the incident
-
Script to force directions of driver?
That why i offer you a dll, but you would have to trust it/me The method adds stress to a scene, and that may in some ways realistic, but successfully solving a pileup on a freeway is very rare. In the city with perhaps < 5 cars involved, it is doable -sometimes. I will put a video later so you can see the capability of the script (It is not included in the video in my signature, because it is newer : ) ------------------ Here is the video
-
Script to force directions of driver?
And i believe it is impossible to avoid. I have made a 'direction-script' and it 'works' in as much that i can force one car to drive in a specific direction, but while he is driving, 3 or 5 new cars piles up, they then need to be addressed one after one, and at the same time the game-engine contradicts the script-cmd over and over, so you cant let 'go' of the first car, because it will change back to the orr. path. Each car need to be forced to the selected position, and you cant keep up with cmds in repect to new cars in the pile -> Jam You are most welcome to the script if you code or if you want a dll with the feature let me know
-
Different weapon-behaviour depending on weapon-hash
Ahh.. There it is ! They are drivers, and that will prevent them from using large weapons! Thanks Lenny!
-
Different weapon-behaviour depending on weapon-hash
- RPH not hooking story mode after update
Do that reversed: 1) Open GTAV in story-mode THEN 2) Open RPHook on desktop and let it hook the open story mode btw ...Remember that you must complete the first story-chapter, before you can hook the game oh ya.. Please do not use a useless title for a topic. "Help!" is completely useless for searching for solutions. Use somethink like "Cant hook story-mode" That make sense! Please edit- Add API function to invert the effect of SetAsCop(Ped ped)
So it is I have no idea why i diddent found it yesterday as i looked, ..i must have done a typo. (Sorry @ Officerporci 👍 @Cyan)- Glitched when telling suspect to enter car
Putting an arrested suspect into a car is flawed. The way around this is to set the suspect down on ground (Q), and then use B and browse to suspect-transport|Local-unit. Then your suspect will be picked up by an AI-transport -If you code you can use: arrestee.WarpIntoVehicle(EmergencyVehicle, 1); Where arrestee is a defined Ped. That will allow you to toss a ped into your car Afaik that is pt the only option. Using suspect-transport|Local-unit both looks better, and is efficient ...most if the time Fails happens if the suspect is in conflicting arrest-sequence between you and an AI-cop, You will never win that 'battle' so the best thing is to stand down, and let the AI do everything. Fail2 is when a suspect cant be accessed through 'E', the your only option is to call persuit-backup, and walk away. There are no fix yet, for these issues.- Add API function to invert the effect of SetAsCop(Ped ped)
That is a multiplayer method. It is neither member in RAGE or FiveM Native Reference- New to LSPDFR, having a couple issues. Arrest / Plugin shuts off
Sadly It does not work anymore. Access to backdoor without plugin is not functional. Only calling a backup-transport is the last option in base-game. I made my own sort-off-functional method, but placing the purp ON the seat is impossible. Under the seat.. that works 😞- Launching Ragepluginhook
Is this 'app store' * steam * Microsoft * Apple * Other.. The issue ought to be fixed, if you use Task-manager and kill the app before you launch RPHook. After you have done that open the pane Start-menu, and remove the pesty 'App from the start menu. That should prevent the app to launch as you open your pc.- RAGE.vehicle.Speed does not show speedometer speed
Thanks! That explain it!- RAGE.vehicle.Speed does not show speedometer speed
As seen here the speedometer shows ~20 The readout of <vehicle>.Speed is 10.85- LSPDFR Safe House saved Vehicle won't work
I think that saving a vehicle inside LSPDfr is flawed. The logic behind is missing. How should a game preserve something you decides inside the game, when there is no save-file? Trying to save inside LSPD will messup the GTA-Story-file. Afaik there are no LSPD way to create a save-game(??) Sync.. i dont know if that include saving..?? anyone know??- Stuck in loading screen
Hejsa.. 😛 Maybe once again this: https://www.lcpdfr.com/forums/topic/125624-rph-does-not-open-game/- unhandled exception in console command "forceduty"
Yes that error-code is general for any code-issue in a plugin. (Every time my code crash, i also get that exact message) My guess would be that you have at least one outdated plugin. Sadly there are no list of outdated plugins, such a list would be really helpful and a strong candidate for a pinned topic- YEs it is crashing teh new update
You did't answer my questions. My way to solve your issue would be to start out with a vanilla-GTAV + newest LspdFR & rpHook, without any mod If that runs, then add one mod, test -Add a mod, test aso I have a very limited list of outdaqted mods, because the toxic .. on discord wont release the list they uses.. But these are atm bad 686Callouts; CountyCalls; DangerousCallouts; HypersCallouts; OfficerporciPlugin; WoutersCalloutsV. HeliAssistance ForceACallout CalloutManager XScanner Anyone who can extend it, please do!- RPH keeps crashing at startup, pls help
When you get the anti-virus error, you need to add RPHook to the list of trusted apps. How to do that varies from virus-scanners, so you need to either read the documentation , or ask in a forum, for your scanner. What virus-software do you have installed? Maybe someone right here knows what to do with that.- Black Screen with loading spinning
If you used RPHook to start GTAV, then dont! Try to do like this https://www.lcpdfr.com/forums/topic/125624-rph-does-not-open-game/ instead. Works with all versions.- YEs it is crashing teh new update
Clean as in "With no plugins installed"? My new-updated LSPDfr starts without any issue at all, so this issue is not general. * Is your version EPIC, Steam or Retail? * Are there any error-messages when you crash? * Have you checked what is running in TaskManager before and after you launch RPHook? Your game can 'hide' on a hidden tab. *Try and browse running apps with Alt+TAB- stuck "Entering Story Mode" for long
Cant see if you start LSPDfr through RPHook? If you did that, then try to first start ordinary GTAV and let it load 100% in story-mode, and then ALT+Tab out to RPHook, and start that up as last event. That works better. Details: https://www.lcpdfr.com/forums/topic/125624-rph-does-not-open-game/- Arrested suspect doesn't get inside transport vehicle
Read this It sound like it is the same issue- I cant arrest suspect when aimming
Dont double post 👎- can`t detain suspect in some cars
Detaining subjects is a bit flawed atm. There are ownership-fighting between the active arrest-managers, and that can make a subject impossible to interact with. (Read If that is your issue, you can 'solve' it by leaving the subject outside your vehicle, and then call a backup-3-local-unit. If that team arrests your subject, then it is the arrest-manager glitch. If the behaviour is different, then it could be your specific car-DLC that is not recognized as a Police-car- Traffic Stops not engaging
Sorry cant say anything about that. I have not added any cars. Hope someone else chime in, if not you should make a new question addressing that specific issue - RPH not hooking story mode after update