[HELP]How To Stop :enable 102 (Staff Badge Above Head) From NON-STAFF

RyanzRetros

Developer of ChakCMS
Jan 14, 2015
978
182
Hey.
I don't usually ask for help publicly but nobody seems to know the code. I am trying to find out how to stop :enable 102 ( ). I know it is an if statement and you have to replace case 11 in chatcommandhandler.cs but I do not know what with.
If somebody could POST THE CODE BELOW that would be great.

P.S: @Sledmore you're good with emulators, do you know how?
 

13rad

King
Sep 15, 2013
156
36
Was given out on the thread the enable was released use Visual Studios to open your emulators source go to ChatCommandHandler.cs and replace case 11 with this
Code:
case 11:
if (Session.GetHabbo().HasFuse("cmd_enable"))
{
int int_ = int.Parse(Params[1]);
if (Session.GetHabbo().Rank > 5 && int_ == 102 || int_ == 178)
{
Session.SendNotif("You are not allowed to preform this enable.");
return true;
}
else
{
Session.GetHabbo().method_24().method_2(int_, true);
Phoenix.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
}
return true;
}
return false;
This wasn't done by me it was done by @Moonshine
 

RyanzRetros

Developer of ChakCMS
Jan 14, 2015
978
182
Was given out on the thread the enable was released use Visual Studios to open your emulators source go to ChatCommandHandler.cs and replace case 11 with this
Code:
case 11:
if (Session.GetHabbo().HasFuse("cmd_enable"))
{
int int_ = int.Parse(Params[1]);
if (Session.GetHabbo().Rank > 5 && int_ == 102 || int_ == 178)
{
Session.SendNotif("You are not allowed to preform this enable.");
return true;
}
else
{
Session.GetHabbo().method_24().method_2(int_, true);
Phoenix.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
}
return true;
}
return false;
This wasn't done by me it was done by @Moonshine
Yes, I know, I did see that however does not work.
Thanks for trying to help though.
 

Users who are viewing this thread

Top