- Joined
- Sep 19, 2010
- Messages
- 210
- Reaction score
- 74
178 dont work for me too.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
@Luminia Yeah they steal Ricardo's idea!
Then tell my why ricardo made an effect for some months ago with a staff and an expert badge over the avatar head?
Make a If statment, not hard ;PNVM. Working, just forgot to clear cache etc. Anyone know how to make only rank 6 can use it in Plus R2?
case "enable": {
if (!this.Session.GetHabbo().HasFuse("fuse_vip_commands") && !this.Session.GetHabbo().VIP)
{
return false;
}
int int_ = int.Parse(Params[1]);
if (Session.GetHabbo().Rank < 5 && (int_ == 102 || int_ == 178))
{
return false;
}
if (Params.Length == 1)
{
return true;
}
RoomUser user16 = this.Session.GetHabbo().CurrentRoom.GetRoomUserManager().GetRoomUserByHabbo(this.Session.GetHabbo().Username);
if (user16.RidingHorse)
{
return true;
}
if (user16.team == Team.none)
{
double num6;
if (user16.IsLyingDown)
{
return true;
}
string s = Params[1];
if (double.TryParse(s, out num6))
{
this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().ActivateCustomEffect(int.Parse(num6.ToString()));
return true;
}
SendChatMessage(this.Session, "You're pretty bad at math, '" + s + "' ain't a number, wigga.");
}
return true;
}
That does not work.@Zedd
HOW TO BLOCK THESE ENABLES TO NORMAL USERS - MERCURY EMU/PLUS R2:
- Search for ChatCommandHandler.cs and change the whole case "enable" to this one
Code:case "enable": { if (!this.Session.GetHabbo().HasFuse("fuse_vip_commands") && !this.Session.GetHabbo().VIP) { return false; } int int_ = int.Parse(Params[1]); if (Session.GetHabbo().Rank < 5 && (int_ == 102 || int_ == 178)) { return false; } if (Params.Length == 1) { return true; } RoomUser user16 = this.Session.GetHabbo().CurrentRoom.GetRoomUserManager().GetRoomUserByHabbo(this.Session.GetHabbo().Username); if (user16.RidingHorse) { return true; } if (user16.team == Team.none) { double num6; if (user16.IsLyingDown) { return true; } string s = Params[1]; if (double.TryParse(s, out num6)) { this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().ActivateCustomEffect(int.Parse(num6.ToString())); return true; } SendChatMessage(this.Session, "You're pretty bad at math, '" + s + "' ain't a number, wigga."); } return true; }
You need able vip command for rank 1 for work.That does not work.
case "enable":
{
if (!this.Session.GetHabbo().GotCommand("enable"))
{
return false;
}
if (Params.Length == 1)
{
return true;
}
RoomUser user16 = this.Session.GetHabbo().CurrentRoom.GetRoomUserManager().GetRoomUserByHabbo(this.Session.GetHabbo().Username);
if (user16.RidingHorse)
{
return true;
}
if (user16.team == Team.none)
{
double num6;
if (user16.IsLyingDown)
{
return true;
}
string s = Params[1];
if (!this.Session.GetHabbo().HasFuse("fuse_mod") && s.Equals("102"))
{
SendChatMessage(this.Session, "You do not have the required rank to use this Enable.");
return true;
}
if (!this.Session.GetHabbo().HasFuse("fuse_mod") && s.Equals("178"))
{
SendChatMessage(this.Session, "You do not have the required rank to use this Enable.");
return true;
}
if (double.TryParse(s, out num6))
{
this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().ActivateCustomEffect(int.Parse(num6.ToString()));
return true;
}
SendChatMessage(this.Session, "You can only use numbers.");
}
return true;
}
ReplaceYou know how to block these enables to normal users in a butterfly emulator?
internal void seteffect()
{
Session.GetHabbo().GetAvatarEffectsInventoryComponent().ApplyEffect(int.Parse(Params[1]));
}
internal void seteffect()
{
if (Session.GetHabbo().Rank < 7 && (Params[1] == "102" || Params[1] == "178"))
return;
Session.GetHabbo().GetAvatarEffectsInventoryComponent().ApplyEffect(int.Parse(Params[1]));
}
ReplaceWith this:Code:internal void seteffect() { Session.GetHabbo().GetAvatarEffectsInventoryComponent().ApplyEffect(int.Parse(Params[1])); }
Code:internal void seteffect() { if (Session.GetHabbo().Rank < 7 && (Params[1] == "102" || Params[1] == "178")) return; Session.GetHabbo().GetAvatarEffectsInventoryComponent().ApplyEffect(int.Parse(Params[1])); }