daily pastebin goal
64%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //player.Output(string.Format("Hello {0} you are {1} years old!", new object[] { TempName, TempAge }));
  2.                         string TempGlobal = "XP";
  3.                         int TempXP = CurXP + AwardXP;
  4.                         PacketWriter writer = new PacketWriter();
  5.                         writer.Write(TempGlobal, true);
  6.                         writer.Write(TempXP);
  7.                         actor.Globals["UserInfo"] = writer.ToArray();
  8.  
  9.                         int curLevel = actor.Level;
  10.                         if (CurXP >= actor.Level * 10)
  11.                         {                        
  12.                             actor.Level = curLevel + 1;
  13.                         }
RAW Paste Data
Top