mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2024-12-22 20:17:24 +08:00
Updated the max characters from 64 characters to 41, which seems to be the maximum the Socialclub API actually saves and returns. (#3014)
This commit is contained in:
parent
53e6530d66
commit
eac117299b
@ -17,7 +17,7 @@ namespace big
|
||||
auto max_input_length = src->get_arg<int>(7);
|
||||
|
||||
if (max_input_length == 15)
|
||||
max_input_length = 64;
|
||||
max_input_length = 41;
|
||||
|
||||
MISC::DISPLAY_ONSCREEN_KEYBOARD(input_type, window_title, unk1, input_default, unk2, unk3, unk4, max_input_length);
|
||||
}
|
||||
|
@ -17,8 +17,8 @@ namespace big
|
||||
auto original = g_hooking->get_original<hooks::get_label_text>()(g_pointers->m_gta.m_ctext_file_ptr, label);
|
||||
if (auto pos = strstr((char*)original, "15"))
|
||||
{
|
||||
pos[0] = '6';
|
||||
pos[1] = '4';
|
||||
pos[0] = '4';
|
||||
pos[1] = '1';
|
||||
}
|
||||
return original;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user