Everything posted by OneSimpleDuck
-
Riskier Traffic Stops
Hey! I dunno if this is just happening with me but even if I set like the chance for it to occur to say "10", something basically still happens almost every single traffic stop. No clue if its a bug but I can't be unlucky or something, this' been happening for days. Every 3 traffic stops the suspect just comes outta the vehicle and starts going brrrr at me
- 231 comments
- 31 reviews
-
Adding pauses to the code
Alright, thanks!
-
Adding pauses to the code
Ight thanks, I'll check it out
-
Adding pauses to the code
Does anyone know how to add a pause into the code? Something like a wait(milliseconds) command? For an example, if I want a Vehicle to explode a specific amount of time after a pursuit has started, I'd need to pause the code for that specific amount of time to do that, and for that, I need something similar to a "wait()" command. " Unfortunately, I can't find much information on how to do this. If anyone can help, it'll be appreciate.d
-
[SOLVED]Ped explosions
oh, thanks!
-
[SOLVED]Ped explosions
Alright, thanks for informing 😄
-
[SOLVED]Ped explosions
Anyone know how to make a ped blow up or spawn an explosion on the ped? I am making a man with a grenade callout and that is kinda important
-
How to make ped shoot from car and how to make ped have beer bottle in hand
Hey, another clarification. Is is supposed to be FightAgainst or FireWeaponAt is also fine?
-
Bank Heist/Robbery
Can you paste the line which is giving this error? Like what line is making this error happen?
-
[SOLVED]Firing Pattern
Thanks! I will join your discord too 😄
-
[SOLVED]Firing Pattern
I have tried many different firing patterns for suspects, but I cant figure out the right one. How do I make it so the suspects continues to fire his weapon, whether it is an assault rifle or a SMG or a handgun, suspect should keep firing it. FiringPattern.BurstFire randomly adds pauses between the gun shots. So, what firing pattern should I use to make the suspect keep firing?
-
How to make ped shoot from car and how to make ped have beer bottle in hand
Thanks, godsend
-
How to make ped shoot from car and how to make ped have beer bottle in hand
Alright, 2 questions in one go. 1) How do I have ped have an alcohol bottle in hand? I know it is probably something like ped.Inventory.GiveNewWeapon() but I don't know what the WeaponHash for an alcohol bottle is. I have tried to search it, did not find anything. It should be like a beer bottle, a full big beer bottle. 2) How do I make the ped shoot from inside the car? I have tried everything I can thing of but the pet just would not shoot at the player when inside the car. How can I fix this?
-
[SOLVED]How to make sure the Vehicle is a car?
It seems to be working fine, thanks! Dark Devil you have become like my saviour now ❤😂
-
[SOLVED]How to make sure the Vehicle is a car?
So, I am making/updating my callout pack, and I want to make sure that the random vehicle that spawns is a car. Mostly the code I use to spawn a car is _SV = new Vehicle(Spawnpoint) But this just spawns a random vehicle, which can include a jet or even just a trailer Any way or line of code that will make sure that the vehicle being spawned is a car? Thanks.
-
Enhanced Emergency Lighting
Why don't you make a how to install inside the document? It is easy to do and it will be simple for us too.
- 149 comments
- 33 reviews
-
Get Peds near player who are Surrendered(By holding E)
I don't know how you detect if a ped has surrendered/laid on the ground with hands up, but I do know how to make cops automatically take peds once arrested. There is a function for that. Functions.IsPedArrested(Ped ped) or Functions.IsPedGettingArrested(Ped ped). And then Functions.RequestSuspectTransport(Ped ped). That should do it. But again, I don't know how to detect when the Ped is laying on ground with hands up and not gotten arrested yet.
-
How to Show a text notification on keyPress
This is the answer to the second one. I will answer the first one in new help ticket you have made. So for the second one, to check if a ped is part of a pursuit, you just do Functions.IsPedInPursuit(Ped ped). That should check whether the ped is in a pursuit or not.
-
How to Show a text notification on keyPress
Before I can answer that, is this for a callout or a plugin? If it is for a callout then you have to code this in the Process() method. You also need to reference System.Windows.Forms for this. if (Game.IsKeyDown(System.Windows.Forms.Keys.U)) { Game.LogTrivial("Hello World"); } Tell me if you are asking this for making a plugin or you were asking this for making a callout.
-
How to get Rage Plugin Hook SDK?
I am pretty sure if you download LSPDFR manually or download RagePluginHook separately, RagePluginHookSDK.dll will be there. You can use that to add to references to create plugins or callouts if that is what you want it for.
-
[SOLVED]How to make an ini file for callout/plugin
Thanks! This helps
-
[SOLVED]How to make an ini file for callout/plugin
How do I make ini files for lspdfr callouts/plugins? I have searched it up everywhere but I cant seem to find any answers to this question. I know it probably is not that difficult but I cant figure it out. I watched some random dude on YouTube showing people how to make callouts and in one of his videos he said people to add the file given below in the picture. Now I thought this was something new about the ini file so I did add this file and then his series just abruptly ended and he did not tell us how to make an ini for the callout. Any of you have any ideas how to do it? Like the ini should have like what callout should be disabled and what not and other stuff. And how do I import ini details to the game. If any of you know any good tutorials on LSPDFR callout ini files, or if any of you know it and can explain it as clear as day, I would really appreciate it. Also this is like my 4th question in the last 2 days but hey come on, I am learning to get into gta v LSPDFR scripting 🙂
-
[SOLVED]How do you make LSPDFR plugins?
Thanks a lot!! Really clear instructions and that screenie helped a lot! Much love ❤️
-
[SOLVED]How do you make LSPDFR plugins?
To be honest, this cleared every single doubt from my previous question, and thanks a lot. But I am still kinda confused, where does the main code go where you actually script what the plugin does?
-
[SOLVED]How do you make LSPDFR plugins?
Oh alright! Also another question. Do we have to add like a main.cs file just like you do when making callout packs or the plugin only consists of one script? Also the public override void Initialize() is triggered when the plugin is loaded right? How do we make the plugin load only when the player goes on duty? And also what is in the public override void Finally() method? Is there where the plugin's content is?