Having Jeremy walking about, talking about cars, would be awesome.
Many spawn options.
Only stores ped model though.
Everything that can be called once should be called once. Since performance hit depends on how often you call it, in this case it doesn't matter.
For example Menyoo could pre-hash but in many cases won't since the performance hit is neglectable: https://github.com/MAFINS/MenyooSP/search?q=get_hash_key&type=
I think Alexander Blade does this as well.
You generate the hash before the loop and then store it a variable that can be used in your loop.
However if you really want to, you could make a variable and set it to the hash value, since you know the hash already. Just make sure there's documentation/comments to identify what the hash represents.
I saw your 1.1 version. Great progress.
I like to use this native to get the hash for readability (called once):
Hash secBarrier1 = GAMEPLAY::GET_HASH_KEY("prop_sec_barrier_ld_01a");
Hash secBarrier2 = GAMEPLAY::GET_HASH_KEY("prop_sec_barrier_ld_02a");
Saw that you're already using Codewalker after writing this.
But for others:
Codewalker is a great tool to find out the name, hash of objects etc. You can move around in the world finding them.
(Press Load DLC, Press T, Press select objects, Right click on an object gives info to the right.
Awesome that you solved it.
Adding a check for all peds, not just the player would be nice. Like once every 2 sec. With performance in mind. If nothing should happen if not in a vehicle, that check could come first for example.
@dimedius For example you could make a simple program, looking through all the files mcal9909 linked to above.
Since "_DOOR_CONTROL" and "prop_sec_barrier_ld_02a" probably are only used in a few scripts, you'll narrow down the potential interesting files.
Write all occurrences (lines with your search word in them) together with the script name to a text file (row number and occurrence count as well ofc if you want).
Then open your created text file, find out which scripts that seems interesting and simply open them and CTRL+F "_DOOR_CONTROL" and "prop_sec_barrier_ld_02a".
That's one way of doing it.
@DurtyFree Sweet. Making mods gets so much easier and quicker when not having to spend as much time searching for resources.
@Shorta Show me a family friendly game with the same or better graphics and physics as GTAV, in which you can roam freely and explore a huge map (and even get more maps with mods) with vehicles like cars, bikes, planes etc and do activities like golf, darts, arm wrestling, bowling, tennis, yoga. Or go skydiving, scuba diving, try to obeying the traffic rules, do taxi missions, get a haircut, do air races, bike races, land races and even water races.
More requirements: do the equivalent to what for example these mods let you do: JobsV [.NET], Trucking Missions, Animal Ark Shelter, Vehicle Remote Central Locking, Single Player Apartment, Super Yacht, Working Restaurants, Travel to North Yankton, Nice Fly, Los Santos Airlines, Premium Deluxe Motorsport Car Dealership.
I don't know about any other family friendly game capable to anything close to what GTAV offers (with the family friendly mod installed of course). Certainly not minecraft. But if you know of any, please share.
However what OP wants is to keep the ragdoll animations but remove the blood particles. For this you need to modify game files.
Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.