Are Task hashes still valid ?
See original GitHub issue@crosire @CamxxCore can someone confirm if this list of hashes
https://pastebin.com/2gFqJ3Px
https://pastebin.com/R9iK6M9W
are still valid ? or whom should I ask ?
For example : i create task
ped.Task.UseMobilePhone()
and check using TASK_USE_MOBILE_PHONE
or TASK_USE_MOBILE_PHONE_TIMED
Function.Call<int>(Hash.GET_SCRIPT_TASK_STATUS, ped, (uint)task);
this returns 7 => task status = none.
or check using CTaskMobilePhone
Function.Call<bool>(Hash.GET_IS_TASK_ACTIVE, ped, (uint)task);
this returns false => task status = none.
However my ped is still using the phone, but these natives return results which say otherwise. I think these task hashes have changed over time due to updates.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Are Task hashes still valid ? · Issue #791
The Task IDs from that dump are still valid. Can't say whether any new tasks have been added since then, though.
Read more >Difference between Input hash and task hash - Prodigy Support
I have been working with the prodigy db, and im confused as to what the difference is between _input_hash and _task_hash which are...
Read more >hash(into:) | Apple Developer Documentation
Returns a Boolean value indicating whether two values are equal. Available when Success conforms to Sendable and Failure conforms to Error . static ......
Read more >VerifyFileHash Task - MSBuild
Learn how MSBuild uses the VerifyFileHash task to verify that a file matches the expected file hash, and fails if it doesn't match....
Read more >What is hashing and how does it work?
A hash table stores key and value pairs in a list that is accessible through its index. Because key and value pairs are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Specifically for
You should be able to just run something like ped.Tasks.ClearAll(); But then you might only need to use ped.Tasks.ClearSecondary();
Or you could use BlockPermanentEvents / AlwaysKeepTask to change from using default behaviours.
For animations you could look at https://www.gta5-mods.com/scripts/animation-viewer https://alexguirre.github.io/animations-list/
OpenIV will also let you browse animations now i think.
The “task” is just a label for grouping, its reverse engineered. Rockstar does not follow standards for all its grouped assets, or obfuscates them purposefully. Take the vehicles as an example.
Most follow the pattern - model name = display name But then “some” don’t - FireTruk = FireTruck
Which is why other natives exist such as “IS_PED_RUNNING_MOBILE_PHONE_TASK”
Are you trying to find out of the Ped has a phone or has the phone Animation active… IS_PLAYING_PHONE_GESTURE_ANIM