This codes makes your name change into clock local time.
- Insert 1 Label and 2 buttons
- Label1: shows clock in tool
- Button1: start button
- Button2: Stop button
Code:
//Setup Timer 1
public Form1()
{
InitializeComponent();
timer1.Tick += button1_Click;
}
// Timer
static Timer timer1 = new Timer();
// Button1 Start
private void button1_Click(object sender, EventArgs e)
{
timer1.Start();
// MM-dd-yyyy HH:mm:ss
this.label1.Text = DateTime.Now.ToString("HH:mm:ss");
byte[] Code1 = Encoding.ASCII.GetBytes("^2Time: ^6" + label1.Text);
Array.Resize(ref Code1, Code1.Length + 1);
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01BBBC2C, Code1);
timer1.Start();
}
// Button2 Stop
private void button2_Click(object sender, EventArgs e)
{
timer1.Stop();
}
Peace
YouTube
Twitter
- Insert 1 Label and 2 buttons
- Label1: shows clock in tool
- Button1: start button
- Button2: Stop button
Code:
//Setup Timer 1
public Form1()
{
InitializeComponent();
timer1.Tick += button1_Click;
}
// Timer
static Timer timer1 = new Timer();
// Button1 Start
private void button1_Click(object sender, EventArgs e)
{
timer1.Start();
// MM-dd-yyyy HH:mm:ss
this.label1.Text = DateTime.Now.ToString("HH:mm:ss");
byte[] Code1 = Encoding.ASCII.GetBytes("^2Time: ^6" + label1.Text);
Array.Resize(ref Code1, Code1.Length + 1);
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01BBBC2C, Code1);
timer1.Start();
}
// Button2 Stop
private void button2_Click(object sender, EventArgs e)
{
timer1.Stop();
}
Peace

YouTube