void startKeyboard(int action, char *defaultText, int maxLength, char *title = "Enter Text")
{
//fix keyboard title thingy
int stub1 = *(int*)(0x003D958C+0x0);
int stub2 = *(int*)(0x003D958C+0x4);
*(int*)(0x003D958C+0x0) = 0x60000000;
*(int*)(0x003D958C+0x4) = 0x60000000;
GAMEPLAY:
ISPLAY_ONSCREEN_KEYBOARD(0, title, "", defaultText, "", "", "", maxLength);
//reset keyboard title thingy
*(int*)(0x003D958C+0x0) = stub1;
*(int*)(0x003D958C+0x4) = stub2;
keyboardAction = action;
keyboardActive = true;
}
Copyright © 2025, NextGenUpdate.
All Rights Reserved.