Everything posted by Albo1125
-
Callout Plugins That are Working
Not too sure about the rest at the moment, but if you're looking for some in depth Traffic Related callouts and other stuff I suggest my Traffic Policer which is working perfectly at the moment
-
API Fellow Cops
Hey LMS, I'm wondering if there's any way to make LSPDFR recognise them as a cop - in other words, that you're unable to arrest cops you spawned. Is this possible already or will this be added in LSPDFR 0.3? Thanks!
-
Arrest Manager (Grab Peds, More Jail Points, Prisoner Transport & more)
You need to have the dll and ini files inside the folder: GTA V/Plugins/LSPDFR. If you don't have an LSPDFR folder in your Plugins directory, create one. Next, copy RageNativeUI.dll into your GTA V folder (same location as RagePluginHook.exe). Next, copy the Arrest Manager Audio folder into your GTA V/LSPDFR/Police Scanner folder. If you do this, it will work. so I don't know what is the problem if I followed the instructions. You did NOT follow the instructions. You either misread them or were too lazy to follow them properly - either way, it's simple to resolve.
- 1,915 comments
- 242 reviews
-
Ped not moving during callout
public override bool OnBeforeCalloutDisplayed() { // first we check for agency if (Common.myAgency != "LSPD" && Common.myAgency != "County Sheriff" && Common.myAgency != "Highway Patrol") return false; //Create our ped in the world Suspect myPed = new Suspect("Suspect1", "a_m_y_mexthug_01", SpawnPoint, 0, true); //Now we have spawned them, check they actually exist and if not return false (preventing the callout from being accepted and aborting it) if (!myPed.Exists()) return false; Peds.Add(myPed); //If we made it this far both exist so let's warp the ped into the driver seat myPed.GiveNewWeapon("WEAPON_PISTOL", 500, true); myPed.Tasks.Wander(); // Show the user where the pursuit is about to happen and block very close peds. this.ShowCalloutAreaBlipBeforeAccepting(SpawnPoint, 50f); this.AddMinimumDistanceCheck(5f, myPed.Position); // Set up our callout message and location this.CalloutMessage = "GTA In Progress"; this.CalloutPosition = SpawnPoint; //Play the police scanner audio for this callout (available as of the 0.2a API) Functions.PlayScannerAudioUsingPosition("CITIZENS_REPORT CRIME_GRAND_THEFT_AUTO_03 IN_OR_ON_POSITION", SpawnPoint); return base.OnBeforeCalloutDisplayed(); } Try that with returning the base. Also, can you post your End() method? You need to be aware of the fact that calling your End method doesn't necessarily stop all your other methods: I recommend adding some kind of boolean e.g. CalloutRunning that you set to false in your End method and make your logic loops break when it's set to false.
-
Can someone who is experienced at coding C#/callouts message me? Have a few callouts I want to release but had some questions.
Have you registered the callouts in your startup code? Functions.RegisterCallout(typeof(Callouts.YourCallout));
-
Random closest spawn-point from coordinate list?
If you simply need a location that's on a valid street, I'd recommend using the following: Vector3 SpawnPoint= World.GetNextPositionOnStreet(Game.LocalPlayer.Character.Position.Around(radius)); If you have a list of specific spawn points you want to select from, LMS has explained it above. If you need to check the distance, I recommend using this: if (Vector3.Distance(Game.LocalPlayer.Character.Position, SpawnPoint)< radius){} Hope it helps!
-
Arrest Manager (Grab Peds, More Jail Points, Prisoner Transport & more)
- 1,915 comments
- 242 reviews
-
Arrest Manager (Grab Peds, More Jail Points, Prisoner Transport & more)
- 1,915 comments
- 242 reviews
-
Arrest Manager (Grab Peds, More Jail Points, Prisoner Transport & more)
Your log, please. Please follow the installation tutorial video or the ReadMe. You haven't installed Arrest Manager correctly at all.
- 1,915 comments
- 242 reviews
-
[WIP][REL] Assorted Callouts - Store Robbery, Petrol Theft, Bank Heist, Traffic Stop Backup Required, Stolen Police Vehicle, Person with a Knife, Solicitation, Organised Street Race, Immigrants In truck &More-
Im definitely looking to do so - one of the things possible in 0.3 I hope!
-
[WIP][REL] Assorted Callouts - Store Robbery, Petrol Theft, Bank Heist, Traffic Stop Backup Required, Stolen Police Vehicle, Person with a Knife, Solicitation, Organised Street Race, Immigrants In truck &More-
Awesome stuff Benzo, thanks a lot for doing that! Thanks so much for your encouraging words! It really means a HUGE lot to me!
-
Traffic Policer (Breathalyzer, Traffic Offences, Speed Detection & more)
- 3,646 comments
- 306 reviews
-
Ped not moving during callout
Try this: suspect.Tasks.EnterVehicle(car, 10000, -1).WaitForCompletion(); This will ensure no other code executes in that Game Fiber before the suspect is in the car. I think you may be overriding tasks, but I can't be sure because I only have a snippet of your code. Other relevant code would be your (inherited?) Suspect class, as you may be overriding basic Ped behaviour.
-
Arrest Manager (Grab Peds, More Jail Points, Prisoner Transport & more)
- 1,915 comments
- 242 reviews
-
Traffic Policer (Breathalyzer, Traffic Offences, Speed Detection & more)
- 3,646 comments
- 306 reviews
-
Whenever I make a callout in Visual Studio, it passes intellisense but for some reason the callout never comes up in game
Have you registered the callout with LSPDFR? Functions.RegisterCallout(typeof(Callouts.ExampleCallout));
-
Traffic Policer (Breathalyzer, Traffic Offences, Speed Detection & more)
- 3,646 comments
- 306 reviews
-
[WIP][REL] Assorted Callouts - Store Robbery, Petrol Theft, Bank Heist, Traffic Stop Backup Required, Stolen Police Vehicle, Person with a Knife, Solicitation, Organised Street Race, Immigrants In truck &More-
It is definitely possible code wise. I'll have to see if I decide to code it into a certain callout. Could definitely be implemented in a certain way if the requirement arises. May be an option in certain callouts. I'm sure people will like it if it's optional.
-
Arrest Manager (Grab Peds, More Jail Points, Prisoner Transport & more)
- 1,915 comments
- 242 reviews
-
Arrest Manager (Grab Peds, More Jail Points, Prisoner Transport & more)
@4d4mski Thank you for your report via the form. Your problem has nothing to do with Arrest Manager, but is to do with RagePluginHook. Please post your problem in the appropriate place: http://forums.ragepluginhook.net/ @Freemanb10 Thank you for the form report. Please delete the 'Arrest Manager Audio' folder from your GTA V / LSPDFR/Police Scanner folder. Then please copy the new 'Arrest Manager Audio' folder from the RAR file to GTA V/LSPDFR/Police Scanner folder.
- 1,915 comments
- 242 reviews
-
[WIP][REL] Assorted Callouts - Store Robbery, Petrol Theft, Bank Heist, Traffic Stop Backup Required, Stolen Police Vehicle, Person with a Knife, Solicitation, Organised Street Race, Immigrants In truck &More-
Thank you CaptainSugarFree for creating this amazing trailer!
-
[WIP][REL] Assorted Callouts - Store Robbery, Petrol Theft, Bank Heist, Traffic Stop Backup Required, Stolen Police Vehicle, Person with a Knife, Solicitation, Organised Street Race, Immigrants In truck &More-
I've added some screenshots to the main post
-
[WIP][REL] Assorted Callouts - Store Robbery, Petrol Theft, Bank Heist, Traffic Stop Backup Required, Stolen Police Vehicle, Person with a Knife, Solicitation, Organised Street Race, Immigrants In truck &More-
Thank you! I might implement a system similar to this one.
-
Traffic Policer (Breathalyzer, Traffic Offences, Speed Detection & more)
- 3,646 comments
- 306 reviews
-
[WIP][REL] Assorted Callouts - Store Robbery, Petrol Theft, Bank Heist, Traffic Stop Backup Required, Stolen Police Vehicle, Person with a Knife, Solicitation, Organised Street Race, Immigrants In truck &More-
Introducing the Early Access Loyalty Rewards Programme As a fresh, new sign of showing my deep appreciation to people who notably support me because they enjoy my work, I'm introducing a new 'Loyalty Rewards Programme'! I feel that people who have shown their trust in me by notably supporting me deserve just that little bit of extra effort from me too. The Loyalty Rewards Programme is designed to give something back to people who support me and my work. There are currently over 60 people participating and this number is ever-growing. Feel free to join my Discord server for more information or just to have a chat: https://goo.gl/IOjQST Q: What exactly is the Loyalty Rewards Programme? The Loyalty Rewards Programme allows participants to get early access to new updates of my modifications or new modifications I create, helping to add finishing touches to them. This essentially allows participants to play a crucial role in the final development stages of my modifications and get an exclusive sneak peek of what's to come. By doing this, participants can help solve last-minute bugs or small problems, give me suggestions of things to add and, of course, enjoy some of my new content a bit earlier. Joining the Loyalty Rewards Programme means you get access to the participants' hub on Discord. Together, we are a community of people that get unlimited access to my modifications' early versions and have a great time discussing future ideas. Q: How do I qualify to become a participant in the Loyalty Rewards Programme? -Generous donators who donate more than €8 per month to support my work are granted full access to the Loyalty Rewards Programme. -Generous donators who have donated more than €20 to support my work are granted full access to the Loyalty Rewards Programme. -People who have otherwise been notably supportive towards me can be granted access to the Loyalty Rewards Programme at my discretion. -It is advised to have some very basic knowledge of how to use LSPDFR along with other modifications. Participating in the programme is not mandatory, of course. It is entirely up to you whether you would like to participate once you qualify. Q: How can I donate to you? Thanks for your generosity! You can donate to me by doing as follows: -Go to the following page: https://goo.gl/AqDQPn -Enter your amount and optionally check the 'Make this monthly (recurring)' checkbox. -Optionally enter a nice message or your LSPDFR username on the next page. -Complete the donation via PayPal. -Feel free to PM me with your PayPal email address so I can verify your donation more quickly. Q: Aren't you forcing people to participate in the programme by holding content away from the general public? Please rest assured that non-participants of the programme will still get access to any new updates or modifications as normal after I deem them ready for full release. This programme is exclusively designed to show my appreciation to my supporters, not to create another 'paid content system' (which I despise of in general). Q: What can I expect from the early versions as a participant? Please be aware that, despite my own thorough testing beforehand, the early versions of new updates or new modifications may contain various small problems or bugs. The early versions should always be relatively close to a full release, however! I'm giving participants access to enjoy themselves and suggest new features, not to do my testing work for me ;) Q: Anything else that I should be aware of? If you fulfil the participants' requirements above and would like to become a participant, please feel free to send me an LSPDFR PM or message me via our usual messaging service. If you donated to me and didn't state your LSPDFR username in the donation, please include your donation email address in your message so I can verify your donation. Participants are still bound to the usual licence agreement for the specific early version they are using. Hope to be able to welcome you soon!