ryancrowder
Member
- Aug 8, 2014
- 34
- 0
@Moonshine don't mean to be awkward but may u put the code/file for bcstorm... love this effect but currently only staff are allowed to use enable. lol thanks in advance
Paste the Enable Command for BcStorm and i will.@Moonshine don't mean to be awkward but may u put the code/file for bcstorm... love this effect but currently only staff are allowed to use enable. lol thanks in advance
hey @Moonshine ik GTE is based on phoenix but would it need a different code, if so please put here the chatcommandhandler.cs file is here
You must be registered for see links
case 11:
if (Session.GetHabbo().HasFuse("cmd_enable"))
{
int int_ = int.Parse(Params[1]);
if (Session.GetHabbo().Rank < 4 && int_ == "102")
{
Session.GetHabbo().method_28("You don't have permission to use this command.");
return true;
}
Session.GetHabbo().GetEffectsInventoryComponent().method_2(int_, true);
GoldTree.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
return true;
}
return false;
Don't work...No Problem bud.Code:case 11: if (Session.GetHabbo().HasFuse("cmd_enable")) { int int_ = int.Parse(Params[1]); if (Session.GetHabbo().Rank < 4 && int_ == "102") { Session.GetHabbo().method_28("You don't have permission to use this command."); return true; } Session.GetHabbo().GetEffectsInventoryComponent().method_2(int_, true); GoldTree.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input); return true; } return false;
No Problem bud.Code:case 11: if (Session.GetHabbo().HasFuse("cmd_enable")) { int int_ = int.Parse(Params[1]); if (Session.GetHabbo().Rank < 4 && int_ == "102") { Session.GetHabbo().method_28("You don't have permission to use this command."); return true; } Session.GetHabbo().GetEffectsInventoryComponent().method_2(int_, true); GoldTree.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input); return true; } return false;
Error 1 Operator '==' cannot be applied to operands of type 'int' and 'string'
Error 2 'GoldTree.HabboHotel.Users.Habbo' does not contain a definition for 'method_28' and no extension method 'method_28' accepting a first argument of type 'GoldTree.HabboHotel.Users.Habbo' could be found (are you missing a using directive or an assembly reference?)
Can you help me out with these Error?
case 11:
if (Session.GetHabbo().HasFuse("cmd_enable"))
{
int int_ = int.Parse(Params[1]);
if (Session.GetHabbo().Rank < 4 && int_ == 102)
{
Session.GetHabbo().Whisper("You don't have permission to use this command.");
return true;
}
Session.GetHabbo().GetEffectsInventoryComponent().method_2(int_, true);
GoldTree.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
return true;
}
return false;