Everything posted by Brexin212
-
Event for when exiting a police station
I like this idea, very clean!
-
Event for when exiting a police station
I have an idea, mind giving some input @LMS? What if I used a callout wrapper of sorts for my callout pack for selecting callouts? I assume that if I have 20 callouts, I could just register my callout wrapper 20 times correct? (this way its called as often as a callout from my mod is called compared to other callout packs) Example: [CalloutInfo("CalloutWrapper", CalloutProbability.Medium)] public class CalloutWrapper { private Callout SelectedCallout { get; set; } public CalloutWrapper() { // Loads a random callout from my callout selection based on CURRENT AGENCY string name = Functions.GetCurrentAgencyScriptName(); SelectedCallout = GetRandomCalloutByAgency(name); } public override bool OnBeforeCalloutDisplayed() { return SelectedCallout.OnBeforeCalloutDisplayed(); } // etc etc }
-
Event for when exiting a police station
If a Callout returns false on the OnBeforeDisplayed method, does LSPDFR automatically select a new callout immediately or does it go into a timeout again?
-
Event for when exiting a police station
Ok, I can get on board with that, thanks! Question though, would it be better to use a more backwards compatible version since 0.4.6 is so new? Such as Functions.IsPlayerAvailableForCalls()? Not sure of the internals of that function, but does it return true even if the player is in menus?
-
Event for when exiting a police station
Is there any kind of event or someway for my plugin (in development) can know when a player exits a police station? The idea that I am trying to go for is when the player has selected a police agency to work under (example: San Andreas Highway Patrol), my mod will register callouts that are specific to what a State Trooper would normally respond to. Currently, using the Functions.OnOnDutyStateChanged event fires as SOON AS the player clicks the "Go On Duty" menu option, and therefor the police agency is not yet selected. Any help is greatly appreciated!
-
Get a Vector3 position in a zone by name
Ok, I will do that using a central coordinate for each zone. One more question though, is it safe to say that increasing a coordinate value by 1 is equivalent to 1m of distance? For example, if a street starts at an X coordinate of 1000, and We move 200 meters along that X coordinate, is our X coordinate exactly 1200 in the game world?
-
Get a Vector3 position in a zone by name
Hello, Working on a mod that sends Callouts based on jurisdiction. Is there any way to get a random position inside a zone based upon zone name? Example: Vector3 sandyPosition = WorldZone.GetRandomZonePositionByName("SANDY"); // some place inside Sandy shore Vector3 eventPosition = World.GetNextPositionOnStreet(sandyPosition); // Now we have a random street position in Sandy Shores!
-
Police SmartRadio - The Successor to Police Radio!
The radio is working just fine for me. The crash when going on duty is caused by the missing "ButtonSetup" folder and its "OnFoot.xml" and "InVehicle.xml" files, which are created when the mod is setup for the first time. Ill post mine for those of you who did not keep a backup, or installing for the first time: https://www.mediafire.com/file/btyatg15bnlhylm/PoliceSmartRadio_Fix.rar/file
- 1,196 comments
- 127 reviews
-
How to get Agency name when going on duty
That is exactly what I needed. Thank you!
-
How to get Agency name when going on duty
Hey fellow officers! Is it possible to get the agency name or script name when going on duty?
-
[Help] Texture missing from Legacy lightbar (Gump's 2018 SAHP charger)
Hello everyone! I tried reaching out to Gump, the file author, but haven't gotten a reply in almost a week, so I am reaching out here to hopefully get some assistance. I downloaded Gump's 2018 SAHP charger pack to get my hands on a Legacy Charger that is of really good quality. Unfortunately, There is a problem with the textures inside the legacy light bar. The Legacy light bar is texture-less for me when the lights are off. The screenshots attached to the file show there is indeed a light off texture in the bar when the lights are off. Looking in OpenIV, I can see that when all the ELS extras are turned off, there is definitely the light-off texture in the light bar that does not happen in game for me. I do have my graphics settings set all the way to max (I have a beefy computer). I have no issues with any other vehicle in my game. I have not made a single edit to any textures at all. These first 2 images are what the bar looks like in game. As you can see, the lights work fine.... but when the light is off, the textures are missing This is looking at the bar in OpenIV. There is definitely textures behind those lights! Does anyone know why this is happening, or something I can try to fix this? Any help would be much appreciated!
-
Rage Revert Not Working
Has anyone tried disconnecting their internet while launching the game with the 1737 files? I am at work, so I cant test this currently. The game should launch offline though right?
-
PeterUCallouts
I had a crash after accepting the callout "Suspicious activity near an ATM". Here is my crash log: https://pastebin.com/ZHGAzW2s
- 546 comments
- 103 reviews
-
[Blipping] Red dot stops appearing after awhile on mini-map
Hello everyone! I’ve noticed an issue during my play time over the last few nights. When you blip a vehicle, a red dot appears on your mini map showing you where the blipped vehicle is. After blipping a few vehicles and performing a few traffic stops, I noticed that the red dot stops appearing on the mini map. Does anyone know why, or knows of a way to fix this issue? It would be super useful to have that red dot, especially during a high speed pursuit! Thanks!
-
LSPDFR crash after police chase
Hello fellow officers! This evening I was involved in a high speed chase, and experienced a crash just before I could arrest the ped (dang technicalities!). Pretty sure this ambient event was from Traffic Policer (Seen someone driving erratically, spinning their wheels when traffic lights turned green). I was hoping someone could read the crash log and tell me what happened. What is a plugin that caused the crash? one of the mods I am using? Any help would be useful. Plugins that I am using are: Cop Holster Sticky Wheels EUP Menu Mods used: SimpleTrainer Manual Transmission & Steering Wheel support Traffic Policer by Albo Interaction+ Emergency Lighting System Emergency Uniform Pack Computer+ Jurisdictions+ Police Smart Radio Stop The Ped Ultimate Backup Crash Log: https://pastebin.com/ydPYX4Jz RagePluginHook.log
-
2015 Potato Charger ELS
This car is perfect! Very nice quality in a small package size. Just wish we had a spotlight 😞 EDIT: I just noticed that the light colors are reversed on the back of the light bar. Is there anyway I can fix this, so that red is on the driver side like in the front?
- 61 comments
- 14 reviews
-
[Help Request] Computer+ and LSPDFR+ traffic stop citations
Hello everyone! New to LSDPFR here, and installed a few of the popular mods around. I noticed during a traffic stop, If I give citations using the LSPDFR+ mod, as soon as I hand the ticket over, the call is completed and the PED drives away. However, If I create a citation using Computer+ (prefer this method, as it is more realistic imo) and give the citation to the PED, then a court case is created (as expected), but then the PED just sits there. How do I end the traffic stop when handing out a citation with Computer+? My Installed Mods: - LSDPFR+ - Stop the Ped - Traffic Policer - Police Smart Radio - Computer+