Everything posted by ToastinYou
-
Guide to Creating a Callouts Plugin [LSPDFR+RPH]
Make sure you aren't using he function within a loop. Int call it once.
-
Create Pursuit When Line Is Displayed
Google how to tell when a string array is done in c#.
-
Stop ped and obtain ID
Look in the RAGE docs and the API Decelopment hub on these forums.
-
Ready or Not (SWAT Game)
The game actually looks pretty decent, thanks for sharing this!
-
RandomCallouts Repo for New Devs
Nice work, it is neat that you decided to share your work with us - I'm sure it will come in handy for some new developers! :)
-
Rage.Vehicle is invalid
Woopsy. But hopefully I still taught you a few things.
-
Rage.Vehicle is invalid
Add some logs to see where your code is reaching before it crashes. If you did exactly as I showed you it shouldn't be crashing unless the model ID is invalid or if the vehicle is being cleaned up.
-
Rage.Vehicle is invalid
SuspectVehicle = new Vehicle("CRUSADER", SpawnPoint, 0f) { IsPersistent = true }; Suspect = new Ped("s_m_y_marine_03", SpawnPoint, 0f) { IsPersistent = true, BlockPermanentEvents = true }; SuspectBlip = new Blip(Suspect) { IsFriendly = false }; if (Suspect && SuspectVehicle) { Suspect.Tasks.EnterVehicle(SuspectVehicle, 1); Suspect.Tasks.CruiseWithVehicle(30f, VehicleDrivingFlags.Emergency); }
-
homicide callouts?
Install DarkAPI.
-
homicide callouts?
Check out LS Noire by Fiskey111. https://www.fiskey111mods.com/
-
What mod is this?
It looks like it's on FiveM, so it is probably a custom script.
-
Any good, cheap gaming laptops?
Yeah, gaming laptop's usually range from $800-$1000 while you could probably get a decent desktop at less than that. Not to mention the fact that gaming laptops overall are shitty, and I would highly advise you don't waste your money on one.
-
How do you code conversations with suspects/victims?
It did not work for you because.. This: for (i = 0; i < talkArray.Length; i++) Needs to be changed to.. This: for (i = 0; i < talkArray.Count; i++)
-
Two questions about callouts..
It's hard to keep vehicles in line, and I am not aware of a way to do something like that. Then, to prevent the second trucker from getting out of his vehicle, use this native: NativeFunction.Natives.SET_PED_COMBAT_ATTRIBUTES(_myPed, 3, false); // sets BF_CanLeaveVehicle to false (Ped ped, int attributeIndex, BOOL enabled) /*BF_CanUseCover = 0, BF_CanUseVehicles = 1, BF_CanDoDrivebys = 2, BF_CanLeaveVehicle = 3, BF_CanFightArmedPedsWhenNotArmed = 5, BF_CanTauntInVehicle = 20, BF_AlwaysFight = 46, BF_IgnoreTrafficWhenDriving = 52, BF_FreezeMovement = 292, BF_PlayerCanUseFireingWeapons = 1424*/
-
Two questions about callouts..
https://hastebin.com/fotukenipo.cs Added some notes so you can follow along with the change I made.
-
Really Low FPS
http://www.tomshardware.com/answers/id-2624601/run-gta-vsync.html https://www.reddit.com/r/GrandTheftAutoV_PC/comments/4md6bo/gta_v_runs_like_shit_but_if_i_disable_vsync_and/ http://gtaforums.com/topic/787115-gta-v-fix-for-fps-drops-and-mouse-lags-when-v-sync-is-on/ All-in-all, GTA V's VSync option is terribly optimized. It's best to use a 3rd-party or straight from your NVIDIA settings if you need VSync for whatever reason. From personal experience, once I turn on VSync I lose ~10 fps if not more, making GTA V barely runnable as my computer is terrible as is.
-
Really Low FPS
VSync being enabled causes some computers to suffer major FPS loss. Do some research.
-
How to find and extract scanner audio?
No, not really.
-
Random Names To Match Up
Get the name as a string or do ToString() and do "blah my name is " + suspectNameAsString + " yeah that my name".
-
[WIP] Stealth Radar (FiveM)
I cannot wait! :)
-
Really Low FPS
Well for one this isn't a dedicated graphics card.. this is integrated into the CPU, which is terrible for gameplay with triple A games. http://www.geforce.com/games-applications/pc-games/grand-theft-auto-v/system-requirements
-
Random Names To Match Up
- Really Low FPS
Just lower your settings. Ignore the memory shit. Go with DirectX 10 as it's proven to be faster than both 11 and 10.1.TURN VSYNC OFF. Turn stuff like grass and water settings down (grass has a HEAVY toll on FPS).- Ready or Not (SWAT Game)
This looks absolutely amazing.- Pursuit With A Destination?
When the LocalPlayer is x meters from the suspect, do suspectPed.Tasks.EnterVehicle(vehicle); then if the suspect is in the vehicle, suspectPed.Tasks.Drive or something like that then create a LHandle Pursuit. - Really Low FPS