It does work bud or else I would not of posted it. Your emulator edit just is not the same as mine, hence the copying and pasting not working for you.
Printable View
Where can i get phoenix 1.7.4
The newest is 1.8.1 but you can get the 1.8.0 cracked here: http://forum.ragezone.com/f353/phoen...0/#post7103884
where do I add it?
Where do you add the code?
Why don'y you use it:
Because you if the user isn't diagonally you update the vars of his body, rot, and more, but, if the user is sit, you update it too, it spend time, now, it's check if the user is sit, or diagonally and update it or not.Code:private static void cmd_sit()
{
TargetRoomUser = Session.GetHabbo().CurrentRoom.GetRoomUserByHabbo(Session.GetHabbo().Username);
if (!TargetRoomUser.Statusses.ContainsKey("sit") && (TargetRoomUser.RotBody % 2) == 0)
{
// Checks body position (ensures it is not diagonal).
// @notes:
// - Do not check head position as it swivels when Habbos talk in the room.
// Sets seated status.
TargetRoomUser.Statusses.Add("sit", "1.0");
// Puts them on the ground level of the room. Comment out to have them 1 space above the ground.
TargetRoomUser.Z = -0.5;
// Updates Habbo.
BaalEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId).UpdateUserStatus(TargetRoomUser, true);
Session.SendNotif("You are now seated.");
else
{
Session.SendNotif("You cannot be seated diagonally or you are sit yet.");
}
}
}
I think it's better, but your code isn't bad.
THX!
Past memories.