Everything posted by ToastinYou
-
Rage.Vehicle is invalid
I believe he's talking about the Persona class, if it's a class - can't remember.
-
Guide to Creating a Callouts Plugin [LSPDFR+RPH]
Post a topic here: https://www.lcpdfr.com/forums/forum/894-api-development/
-
Spawned Ped not Attacking Active Peds
Tasks.FightAgainstClosestHatedTarget(1000f); When it says HatedTarget it is referring to a relationship with nearby peds. If it doesn't find a "HatedTarget" within the vicinity, it won't conduct the task (to my knowledge). You have to make a nearby ped hated, and I believe that can be done through relationship groups. I only skimmed over your code, but I believe this is what is happening.
-
Is there a chance to update Script?
Not really unless it's open sourced.
-
LSPDFR 0.4 - Announcement + First Preview
WOOP! Thank you so much <3
-
[WIP] Toasty Callouts
Going to be back in development, Soon?™
-
lLspd_First_Response.getPullover isn't working
No snippets of code? Sorry, can't help you.
-
Coordinates not working
Looks like they're spawning at 0,0,0 which is the default. Something may be wrong with your coordinates. And "VEHICLE" is not a valid model.
-
Help with scanner audio
Because they aren't in a normal reading format, they're by numbers or something, not by the crime. Go through each of the audio files until you find what you want.
-
Help with scanner audio
- [CALLING ALL DEVS] Police Computer Integration
What do you mean by that? Computer+ has had an API for a long time now where callout developers can add callout information to the computer.- Absolute NOOB modder questions
Well what I used above was RPH, not SHVDN.- Absolute NOOB modder questions
If I'm understanding what you're wanting to do, here's what I would do.. private static void OpenTrunk() { while (true) { if (Game.IsKeyDown(Keys.Up) && Game.LocalPlayer.Character.IsInAnyVehicle(false)) { Vehicle veh = Game.LocalPlayer.Character.CurrentVehicle; var vehDoor = veh.Doors[5]; //index of 5 represents the vehicles trunk. if (vehDoor.IsValid() && !vehDoor.IsOpen) vehDoor.Open(true); //open trunk if closed. else if (vehDoor.IsValid() && vehDoor.IsOpen) vehDoor.Close(true); //close trunk if opened. } GameFiber.Yield(); } }- Mega Help Me Post! - Multiple Issues And Questions
This is causing your disregard issue. Remove it.- License plate reading problem
Probably not possible, and in real life you have a choice of like 6-8 characters depending on your state.- Coding conversation problem.
You are calling conversation1 infinitely many times when the player is 10m away. When they're 10m away every single tick you're convo code is being called.- How to motivate
I hate developing callouts.. yet that is what I am known for.. lmao. I can never stay motivated enough to develop callouts because to me it's so boring. I hate testing shit.- [need help] lspdfr crashing when I join the pursuit.
Find a way to test fot when player has entered said vehicle. Just look under Game.Localplayer.Character, you'll find something.- Armed Pursuit [HELP]
Just advice, use foreach to save you a lot of time and headaches.- [need help] lspdfr crashing when I join the pursuit.
Rather than pathetically snipping shit out thinking we're going to steal your code; just show us the line that is causing the crash and any lines that may interfere with that.- 2 Questions - Code problem and INI
Remove the underscores and replace them with spaces. Also you have us no code to help you with your first issue.- How Many Developers on Average Work on a Mod?
Says you 😂- How to set callout/pursuit in a certain area?
Well the three objects you asked me about are super basic materials and you should know what they do.- How to set callout/pursuit in a certain area?
I suggest that you learn some more C#.- How to set callout/pursuit in a certain area?
//Create a new vector3 (named sP) and set it to the in-game coordinates you would like the callout to start at and set the CalloutPosition to sP. Vector3 sP = new Vector3(x, y, z); https://www.gta5-mods.com/tools/coordinates-recorder-net - [CALLING ALL DEVS] Police Computer Integration