public static class Addresses
{
public static UInt32
NameChange = 0x1BBBC2C; //MW3 NameChange Address
}
//Declared outside of the timer method
string myname = "BaSs"; //or have this declared in your timer and ( = yourtextbox.Text);
string space;
int i = 0;
//Your Timer
private void timer1_Tick(object sender, EventArgs e)
{
if (i == 11) //or whatever length you plan on adding spaces for
{
i = 0;
space = new string(' ', i);
PS3.Extension.WriteString(Addresses.NameChange, space + myname);
}
else
{
space = new string(' ', i);
PS3.Extension.WriteString(Addresses.NameChange, space + myname);
i = i + 1;
}
timer1.Start();
}
//C# Moving Name
string myname;
string space;
int i = 0;
private void timer1_Tick(object sender, EventArgs e)
{
myname = yourtextbox.Text;
if (i == 11)
{
i = 0;
space = new string(' ', i);
PS3.Extension.WriteString(0x1BBBC2C, space + myname);
}
else
{
space = new string(' ', i);
PS3.Extension.WriteString(0x1BBBC2C, space + myname);
i = i + 1;
}
timer1.Start();
}
public static class Addresses
{
public static UInt32
NameChange = 0x1BBBC2C; //MW3 NameChange Address
}
//Declared outside of the timer method
string myname = "BaSs"; //or have this declared in your timer and ( = yourtextbox.Text);
string space;
int i = 0;
//Your Timer
private void timer1_Tick(object sender, EventArgs e)
{
if (i == 11) //or whatever length you plan on adding spaces for
{
i = 0;
space = new string(' ', i);
PS3.Extension.WriteString(Addresses.NameChange, space + myname);
}
else
{
space = new string(' ', i);
PS3.Extension.WriteString(Addresses.NameChange, space + myname);
i = i + 1;
}
timer1.Start();
}
//C# Moving Name
string myname;
string space;
int i = 0;
private void timer1_Tick(object sender, EventArgs e)
{
myname = yourtextbox.Text;
if (i == 11)
{
i = 0;
space = new string(' ', i);
PS3.Extension.WriteString(0x1BBBC2C, space + myname);
}
else
{
space = new string(' ', i);
PS3.Extension.WriteString(0x1BBBC2C, space + myname);
i = i + 1;
}
timer1.Start();
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.