Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. #region Magical Tiles
  2. Description: Stand on a Tile? and it Shoots you Away to the a different room, but same tile!
  3. x = dbClient.getString("SELECT credits FROM users WHERE id = '" + roomUser.userID + "'");//If Deleted, Errors it All :(
  4. X = dbClient.getInt("SELECT x FROM users WHERE name = '" + _Username + "'");
  5. Y = dbClient.getInt("SELECT y FROM users WHERE name = '" + _Username + "'");
  6. if (_roomID == 27 && roomUser.X == 5 && roomUser.Y == 5)
  7. {
  8. sendData("D^" + "H" + Encoding.encodeVL64(22));
  9. roomUser.X = X;
  10. roomUser.Y = Y;
  11. }
  12. #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement