Everything posted by FtDLulz
-
Registered owner of a spawned vehicle
He's not talking about Police Radio's plate checker, he's talking about LSPDFR's computer plate check.
-
Looking for a handling mod
I love it, but you said you didn't want any extra deformation, so I don't know if you would.
-
List of possible Vehicles
I haven't tested if it works or not, but for vehicles, you can do 'Model.RandomVehicleModel'. Though Stealth's solution above gives you more control over what can actually spawn.
-
Vehicle Search - Search a suspect's vehicle!
- 342 comments
- 49 reviews
-
[WIP] Bus Simulator V
Sounds like this could turn out great! I'll be watching this :3
-
Looking for a handling mod
There's also Semi-Realistic Car Physics V which adjusts handling and deformation, but not to the point of annoyance.
-
How to make an INI file in Code?
InitializationFile ini = new InitializationFile("Plugins/LSPDFR/YourPluginName.ini"); ini.Create(); string aStringYay = ini.Read("Section", "Key", "DefaultValue");Small example, but you should get the idea. If you don't want the default value for whatever reason you can also do something like ini.ReadString("Section", "Key").
-
Vehicle Search - Search a suspect's vehicle!
That's an old ini file, which won't work with the latest version as the format has changed since then. I recommend downloading Vehicle Search again, and then change the values in the ini that it comes with. If you want to use the items you have there, just paste them into the new ini. For 1/2 or 1/3 chance, it would be 2 and 3 respectively for the chance (1 in 2 chance = 1/2 and 1 in 3 chance = 1/3). You may want it a bit higher though, as later versions allow you to search more than just the trunk, which means you'll find more items anyway if you search the doors. You may want to increase the chance decay though, as if it finds a lot of items, they'll get cut off when they're displayed (a game limitation). You can have a value (more than two billion, if you want to get crazy) higher than seven, that's just there to explain it. (1 in 7 = 1/7 chance of finding something)
- 342 comments
- 49 reviews
-
Does LSPDFR replace original files?
Well if you're running from Rage Hook it prevents you from connecting so you don't accidentally get banned, I believe.
-
LSPD First Response 0.2a Update
If it wasn't playtested there'd be a lot more bugs. The keys do lock, and the key is the same as the lights, but only when you're still. You can either change the context action key or the horn/siren key if it bugs you.
-
LSPD First Response 0.2a Update
Pretty sure both are the same, it's just that one is a .rar file, which has better compression resulting in a faster download. You'll need something like WinRAR or 7-Zip to open it, though.
-
Creating a Cop
Also using this one along with GetNearestRoadPositionSP (there's a native for something like this but the spawn point is useful).
-
How do I change the colour of a blip?
Just to make sure, you're initializing the blip like this, right?: Blip suspectBlip = new Blip(suspect); OR suspectBlip = suspect.AttachBlip(); suspectBlip.Color = Color.Blue;If you want to send me your OnCalloutAccepted code in a PM, I could try and spot the error for you.
-
Vehicle Search - Search a suspect's vehicle!
Yep. Are you absolutely sure you're running v0.20 of the Rage Hook? Try downloading it again and installing it.
- 342 comments
- 49 reviews
-
Detecting User Input
You need a GameFiber.Yield() at the end of the while loop so other things can process. while (true) { if (thisvar == thisvalue) { doSomething(); } GameFiber.Yield(); }
-
Access the API without being a direct Plugin
Yeah, found that out just yesterday. Pretty nice though :P
-
Vehicle Search - Search a suspect's vehicle!
- 342 comments
- 49 reviews
-
How do I start modding?
I really don't get why you started a completely new topic when your first one was fine.
-
Flashlight mod
You can use CalloutsV by LukeD. It has a flashlight you can pull out by pressing 'U' (by default).
-
Vehicle Search - Search a suspect's vehicle!
Are you using the latest version, v2.0? Are you using the latest rage hook, v0.20? If you are, load Vehicle Search, and then send me your crash log (the RagePluginHook.log file in your GTA V directory).
- 342 comments
- 49 reviews
-
Creating a Cop
I'm trying to create a cop but every time I do it I get this error: Here's my code: tsCop01 = new Cop(PoliceAgency.CityPolice, Gender.Random, tsVehicle01.GetOffsetPosition(Vector3.RelativeRight * 2.0f), testspawnSP.Heading - 180f); tsCop02 = new Cop(PoliceAgency.CityPolice, Gender.Random, tsVehicle02.GetOffsetPosition(Vector3.RelativeLeft * 2.0f), testspawnSP.Heading - 180f);
-
Known issues
It's either that or have the team change it. VB.NET isn't case-sensitive which is why it's saying it's ambiguous for you. I don't think there's any other workarounds, unfortunately.
-
Known issues
It doesn't say it's ambiguous for me. Which version of VS are you using? I'm using VS 2015 Community.
-
Ambient Police Radio
It looks like you can add your own stations to that one -- maybe you could add one yourself to the ini?
-
Vehicle Search - Search a suspect's vehicle!
- 342 comments
- 49 reviews