Everything posted by 420Chuur
-
Start a Controlled Fire?
@NoNameSet Has a Fire wrapper class that he made a long time ago. https://gist.github.com/NoNameSet/caf779fd7385f1f77b135d52c807e807
-
Issues with Drawing a Marker
First of all you would create a new class named say Marker.cs. Put the code in that spoiler in there and rename to your namespace (where it says YourProjectName). Then from that point in a callout you can use Marker1 = new Marker(); With your parameters. Marker1.Visible = true;
-
Issues with Drawing a Marker
I use a extension class specifically for markers. I can't remember where I found it , Was on google somewhere. I did look again but couldn't find the author. I take no credit for this class & if anyone knows who created it please let me know so I can credit them.
-
LSPDFR 0.4.2 - New API Functions
Ok cheers! So correct me if i'm wrong, Setting SetPedResistanceChance to 0, would in theory stop my suspects from stealing a vehicle when in a pursuit? Whereas setting it to 100 would guarantee the suspect would steal a vehicle? Maybe could do something along the lines of renaming it to SetPedStealVehicleInPursuitChance & adding a SetPedArrestResistanceChance. Would love to have my suspects told to surrender, put their hands up as if they're surrendering then take off. Even a SetPedFleeChanceWhileCuffed could be interesting.(Having a ped you've already arrested try to flee while cuffed. Happens all too often IRL.)
-
LSPDFR 0.4.2 - New API Functions
Is SetPedResistanceChance New? What is the default value? Also is it used on frisking only or arrests as well ?
-
LSPDFR 0.4 API Update
@LMS I load LSPDFR manually, Seem to be encountering this exception. Doesn't happen all the time but usually the first 2-3 times I try load the plugin.
-
LSPDFR 0.4 API Update
@LMS Any insight on why i'm getting this exception when in a pursuit? Has happened about 3 times now? I understand the Rage.Vehicle is invalid but what vehicle? I see my suspect now enters/ steals cars when in a pursuit instead of just fleeing on foot. Could it be something to do with that?
-
LSPDFR 0.4 API Update
A issue I have found is when concluding a pursuit , The number of suspects apprehended is never correct. E.G I Pursued a baller with 4 occupants, They stopped 2 of them got out , started shooting ,one was killed the other surrendered. The other 2 were ripped out of the vehicle and apprehended. Never the less, In the notification , Suspects Apprehended = 6. 😕 Suspects killed = 1.
-
Need some basic coding help using RagePluginHook
Np, Although all the info I gave you can be found from google 😄 . You may want to take a look at this post here: https://gtaforums.com/topic/808513-changing-ped-clothes-and-attaching-props-to-ped-via-scripts/, Down where it says props.
-
Need some basic coding help using RagePluginHook
You could use one of the natives, ADD_AMMO_TO_PED(Ped ped, Hash weaponHash, int ammo), SET_PED_AMMO(Ped ped, Hash weaponHash, int ammo)
-
Need some basic coding help using RagePluginHook
Ok for a start 1: These are the natives for ptfx, this will make the purple clown appears smoke. NativeFunction.Natives.REQUEST_NAMED_PTFX_ASSET("scr_rcbarry2"); NativeFunction.Natives.x6C38AF3693A69A91("scr_rcbarry2"); // _SET_PTFX_ASSET_NEXT_CALL NativeFunction.Natives.START_PARTICLE_FX_NON_LOOPED_AT_COORD<uint>("scr_clown_appears", Game.LocalPlayer.Character.Position, 0, 0, 0, 5.5f, 0, 0, 0); 2: Why not just give a new weapon and set the amount of ammo there?IGame.LocalPlayer.Character.Inventory.GiveNewWeapon(WeaponHash.Pistol, 9999, true); 3: Why not use EUP Menu, That way you can choose,save & load your custom outfits with or without sunglasses , police hat ect... Do you expect people to go through every post on these forums hourly? 😄 Maybe joining the RPH Discord channel would be more appropriate. ALSO, People care if you curse because your just wasting space in a post. Everyone has an opinion, People just need to learn there's a time and a place to voice it :). & Here is not it 😜
-
PoliceMenu V
@AbelSoftware Any chance you can share the code you use to add the Heart, Armour & Clothing Icons? I would like to do something similar.
- 59 comments
- 6 reviews
-
[Research/WIP] Emergency Vehicle Lighting | The next generation of ELS
@JnKTechstuff Is it possible to have the lights in a "off " state as they look to be always on?
-
LSPDFR 0.4 - Ambience
@Sam Is it possible to get a look at the updated API before the official release? Only reason I ask is it would be cool to see some callout plugins ready on release , making use of some of the new features etc.
-
Traffic Control
Hi, I'm trying to use API.Functions.StopAllTraffic but can't seem to find a way to turn it off? How is it toggled on/off in your plugin?
- 338 comments
- 46 reviews
-
Emergency Lighting System
I'm not sure what has happened as I never had this problem until the latest update. After reinstalling my mods this happens on all NON ELS vehicles! ELS Vehicles are working fine?
- 2,663 comments
- 234 reviews
-
[WIP][REL] Automatic Roadblocks v2.0
Im just wondering if this is still being worked on as I haven't seen anything relating to it in the past 6 months?
-
Felony Stop Plugin - Traffic Stop Enhancement, Give Commands/Tactics
Have tried with the hotfix, neither buttons seem to work now ? Tried calling in with PoliceSmartRadio but that wouldn't work, So tried using the keys, They wont work either? Here's my log...
- 241 comments
- 18 reviews
-
Felony Stop Plugin - Traffic Stop Enhancement, Give Commands/Tactics
- 241 comments
- 18 reviews
-
Felony Stop Plugin - Traffic Stop Enhancement, Give Commands/Tactics
Nope , just a normal traffic stop. Also tried whilst in a callout but couldn't get it to work either...
- 241 comments
- 18 reviews
-
Felony Stop Plugin - Traffic Stop Enhancement, Give Commands/Tactics
- 241 comments
- 18 reviews
-
Felony Stop Plugin - Traffic Stop Enhancement, Give Commands/Tactics
I had the original keys set at first , didn't conflict with any other keys unless I was in a vehicle which I then use Police SmartRadio instead , but couldn't bring up the menu, so I changed keys around (Felony stop Ctrl + T , & Menu Ctrl + K ) but that didn't work either :(
- 241 comments
- 18 reviews
-
Felony Stop Plugin - Traffic Stop Enhancement, Give Commands/Tactics
- 241 comments
- 18 reviews
-
Felony Stop Plugin - Traffic Stop Enhancement, Give Commands/Tactics
I've tried using this plugin but can't seem to get the menu to work? I've tried changing keys and modifiers , The Felony Stop keys work, Crtl + K, But Ctrl + T doesn't seem to do anything? Even changing them around doesn't seem to help?
- 241 comments
- 18 reviews