uint kb_Result = 0x03080E22;
uint kb_cb = 0x988F98;
uint keyboardPrompt = 0x49D980;
uint kb_active = 0x0099E42C;
string runKeyboard(string title = "Your title", string presetText = "text here", int maxLength = 20)
{
RPC.Call(keyboardPrompt, new object[] { 0, title, presetText, maxLength, 0, 0, kb_cb });
System.Threading.Thread.Sleep(10);
while (PS3.Extension.ReadInt32(kb_active) == 0) { }
return PS3.Extension.ReadString(kb_Result);
}
byte[] bytes = Encoding.ASCII.GetBytes(runKeyboard("Your Title Here", "", 50));
Array.Resize<byte>(ref bytes, bytes.Length + 1);
PS3.SetMemory(0x2892C60, bytes);
uint kb_Result = 0x03080E22;
uint kb_cb = 0x988F98;
uint keyboardPrompt = 0x493EA8;
uint kb_active = 0x0099E42C;
string runKeyboard(string title = "Your title", string presetText = "text here", int maxLength = 20)
{
RPC.Call(keyboardPrompt, new object[] { 0, title, presetText, maxLength, 0, 0, kb_cb });
System.Threading.Thread.Sleep(10);
while (PS3.Extension.ReadInt32(kb_active) == 0) { }
return PS3.Extension.ReadString(kb_Result);
}
byte[] bytes = Encoding.ASCII.GetBytes(runKeyboard("Your Title Here", "", 50));
Array.Resize<byte>(ref bytes, bytes.Length + 1);
PS3.SetMemory(0x2892C60, bytes);
cbuf_AddText(0, "set scr_" + GameMode + "_score_kill " + runkeyboard("Your Title Here", "", 50));
opd_s keyBoardPrompt = { 0x493EA8, TOC };
void(*CallKeyBoard)(int z, char* Title, char* Preset, int Lenght, int z1, int z2, int Addr) = (void(*)(int, char*, char*, int, int, int, int))&keyBoardPrompt;
char* runKeyBoard(char* Title = "Your Title", char* PresetText = "Preset Text here", int maxLenght = 20)
{
CallKeyBoard(0, Title, PresetText, maxLenght, 0, 0, 0x988F9
;
sleep(10);
while (PS3::ReadInt(0x0099E42C, 1) == 0) {}
return PS3::ReadString(0x03080E22);
}
opd_s keyBoardPrompt = { 0x493EA8, TOC };
void(*CallKeyBoard)(int z, char* Title, char* Preset, int Lenght, int z1, int z2, int Addr) = (void(*)(int, char*, char*, int, int, int, int))&keyBoardPrompt;
char* runKeyBoard(char* Title = "Your Title", char* PresetText = "Preset Text here", int maxLenght = 20)
{
CallKeyBoard(0, Title, PresetText, maxLenght, 0, 0, 0x988F9
;
sleep(10);
while (PS3::ReadInt(0x0099E42C, 1) == 0) {}
return PS3::ReadString(0x03080E22);
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.