Advertisement
BaSs_HaXoR

COD Moving Name (RTE) C#

Dec 7th, 2014
778
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.12 KB | None | 0 0
  1. //Thread where I posted this in the comments: http://www.nextgenupdate.com/forums/call-of-duty-black-ops-2-mods-cheats-and-guides/781475-how-code-roll-name-c-people-who-dont-know-2.html#post6186391
  2.  
  3. //RTE Moving Name C#
  4.  
  5. public static class Addresses
  6.         {
  7.             public static UInt32
  8.                 NameChange = 0x1BBBC2C; //MW3 NameChange Address
  9.         }
  10.  
  11. //Declared outside of the timer method
  12. string myname = "BaSs"; //or have this declared in your timer and ( = yourtextbox.Text);
  13. string space;
  14. int i = 0;
  15.  
  16. //Your Timer
  17.  private void timer1_Tick(object sender, EventArgs e)
  18.         {
  19.             if (i == 11) //or whatever length you plan on adding spaces for
  20.             {
  21.                 i = 0;
  22.                 space = new string(' ', i);
  23.                 PS3.Extension.WriteString(Addresses.NameChange, space + myname);
  24.             }
  25.             else
  26.             {
  27.                 space = new string(' ', i);
  28.                 PS3.Extension.WriteString(Addresses.NameChange, space + myname);
  29.                 i = i + 1;
  30.             }
  31.             timer1.Start();
  32.         }
  33.  
  34. //coded by: BaSs_HaXoR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement