Everything posted by darkfire59
-
How to use RemoveSpeedZone Method?
Ah, I probably should have figured that out myself sooner. However, thank you very much! I'll make note to remember to look at a methods return value.
-
How to use RemoveSpeedZone Method?
http://docs.ragepluginhook.net/html/6C6C2196.htm Under circumstances my code will create a a speed zone with World.AddSpeedZone, if the requirments to make it aren't met, it'll delete the speedzone, however I don't know how to target my speedzone with the World.RemoveSpeedZone method. I would very much appreciate some help. Code: if (pcar.IsPoliceVehicle) { World.AddSpeedZone(pcar.Position, 50f, 0f); Game.DisplayNotification("PCAR EXISTS"); } else { World.RemoveSpeedZone(!!!Unsigned Int?!!!); Game.DisplayNotification("Speed Zone removed"); }
-
LSPDFR API Namespaces
Could we make this thread a suggestion for all of the Classes/funtions, we wish to keep access to?
-
Get state of traffic stop?
It would likely be a useful feature, it would be wonderful if you could mark this as a feature request. Would "IsPlayerPerformingPullover" include all of the states, so it would be true when you're in any state of the pull over? If so that would do for now.
-
Get state of traffic stop?
While the suspect is stopped I want to have a script run. However, I can't seem to figure out how I do this, how would I check if the suspect is stopped? I've looked through the LSPDFR code, and it's certainly possible to do, I just don't know how to go about doing it. Okay, not tested yet, but as an update I think this is how you would get state that the traffic stop is in, please correct me if I'm wrong LSPD_First_Response.TrafficStop.ETrafficStopState state = LSPD_First_Response.TrafficStop.ETrafficStopState.SuspectStops; while (true)
-
Siren Radius?
So, I'm writing a little script here, however, I can't seem to figure out if there's a way to change the radius in which someone pulls over. Does anyone have any idea?
-
Dispatch.meta (and not only) editing
I changes "NumPedsToSpawn" to 1, however I'm getting three police cars chasing me. Is it possible to lower the spawns, or is it only possible to raise the spawns? Edit: I had changed GTA5 from Read only to RW. Everythings good now.
-
Dispatch.meta (and not only) editing
Hey, so I was looking through dispatch.meta, is it possible to change how many police cars spawn? If so I'm not seeing it. Do any of you guys know?