mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-23 09:02:38 +08:00
Fixes for b3095 (#2537)
* Refactored TRIGGER_SCRIPT_EVENT for the duplicate f_2 argument they added in 3095. Fixed OOB gadget spam caused by the tow truck. Increased max interiors in InteriorControl. * Updated scripted_game_event. * Update GTAV-Classes repo. * Fixed locals for 3095. * Bump project to Build 3095.
This commit is contained in:
@ -52,8 +52,8 @@ namespace big
|
||||
|
||||
if (rotate_cam_bits)
|
||||
{
|
||||
const size_t arg_count = 3;
|
||||
int64_t args[arg_count] = {(int64_t)eRemoteEvent::TSECommand, (int64_t)self::id, (int64_t)eRemoteEvent::TSECommandRotateCam};
|
||||
const size_t arg_count = 4;
|
||||
int64_t args[arg_count] = {(int64_t)eRemoteEvent::TSECommand, (int64_t)self::id, (int64_t)eRemoteEvent::TSECommandRotateCam, rotate_cam_bits};
|
||||
|
||||
g_pointers->m_gta.m_trigger_script_event(1, args, arg_count, rotate_cam_bits, (int)eRemoteEvent::TSECommand);
|
||||
}
|
||||
|
Reference in New Issue
Block a user