mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-05 17:13:29 +08:00
feat(Pointers): Added trigger_script_event
This commit is contained in:
parent
05f591fb9c
commit
f01875d2c9
@ -15,4 +15,6 @@ namespace big::functions
|
||||
using gta_thread_kill = __int64(GtaThread* a1);
|
||||
|
||||
using increment_stat_event = bool(uint64_t net_event_struct, int64_t sender, int64_t a3);
|
||||
|
||||
using trigger_script_event = int(int unk0, int64_t* args, int argCount, int bitFlags);
|
||||
}
|
||||
|
@ -132,6 +132,11 @@ namespace big
|
||||
{
|
||||
m_error_screen = ptr.as<decltype(m_error_screen)>();
|
||||
});
|
||||
|
||||
main_batch.add("Trigger Script Event", "48 8B C4 48 89 58 08 48 89 68 10 48 89 70 18 48 89 78 20 41 56 48 81 EC ? ? ? ? 45 8B F0 41 8B F9", [this](memory::handle ptr)
|
||||
{
|
||||
m_trigger_script_event = ptr.as<decltype(m_trigger_script_event)>();
|
||||
});
|
||||
|
||||
main_batch.run(memory::module(nullptr));
|
||||
|
||||
|
@ -47,6 +47,8 @@ namespace big
|
||||
functions::gta_thread_kill* m_gta_thread_kill{};
|
||||
|
||||
functions::increment_stat_event* m_increment_stat_event{};
|
||||
|
||||
functions::trigger_script_event* m_trigger_script_event{};
|
||||
};
|
||||
|
||||
inline pointers *g_pointers{};
|
||||
|
Loading…
x
Reference in New Issue
Block a user