2 New Effects: Staff Badge above Head [UPDATE]

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
 

HabboRyanz

New Member
Oct 9, 2014
13
0
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
 

Jaden

not so active
Aug 24, 2014
886
263
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
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.
 

x5Abrahamx5

Member
Jan 25, 2014
62
5
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.
Don't work...
 

Ex3r

New Member
Sep 25, 2015
1
0
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.

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?
 

Jaden

not so active
Aug 24, 2014
886
263
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?
Code:
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;
 

Users who are viewing this thread

Top