Jaden
not so active
Just thought i'd release a few commands for the community.
Add These above your
Add
Add These above your
Code:
Input = Input.Substring(1);
Code:
Room room = Session.GetHabbo().CurrentRoom;
RoomUser profile = room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
Code:
#region :warptome <username>
case "warptome":
{
RoomUser AvatarTarget = room.GetRoomUserManager().GetRoomUserByHabbo(Params[1]);
if (Session.GetHabbo().Rank < 4) return true;
else if (Session.GetHabbo().Rank > 4) {
AvatarTarget.X = profile.X;
AvatarTarget.Y = profile.Y;
AvatarTarget.Z = profile.Z;
profile.Chat(Session, "*Warps " + AvatarTarget.GetUsername() + " to them*", true, 1, 1);
AvatarTarget.UpdateNeeded = true;
}
}
return true;
#endregion
#region :warpto <username>
case "warpto":
{
RoomUser AvatarTarget = room.GetRoomUserManager().GetRoomUserByHabbo(Params[1]);
if (Session.GetHabbo().Rank < 4) return true;
else if (Session.GetHabbo().Rank > 4)
{
profile.X = AvatarTarget.X;
profile.Y = AvatarTarget.Y;
profile.Z = AvatarTarget.Z;
profile.Chat(Session, "*Warps to " + AvatarTarget.GetUsername() + "*", true, 1, 1);
profile.UpdateNeeded = true;
}
}
return true;
#endregion