Jan 15, 2017 #1 R Roas Newbie Spellweaver Joined Jan 15, 2017 Messages 24 Reaction score 4 Hello Ragezone, I'm here to release a new command. Go to => HabboHotel\Rooms\Chat\Commands\User and create new file.cs, called : LoveCommand.cs PHP: http://pastebin.com/CNABVjKF And , Go to :=>CommandManager.cs and put PHP: this.Register("love", new LoveCommand()); Good Luck!
Hello Ragezone, I'm here to release a new command. Go to => HabboHotel\Rooms\Chat\Commands\User and create new file.cs, called : LoveCommand.cs PHP: http://pastebin.com/CNABVjKF And , Go to :=>CommandManager.cs and put PHP: this.Register("love", new LoveCommand()); Good Luck!
Jan 15, 2017 #2 R Rockie Newbie Spellweaver Joined Jun 8, 2006 Messages 10 Reaction score 1 On what lines do you put the codes on commandmanager?
Jan 15, 2017 #3 R Roas Newbie Spellweaver Joined Jan 15, 2017 Messages 24 Reaction score 4 private void RegisterUser() { this.Register("love", new LoveCommand());
Jan 16, 2017 #4 B Big G Banned Banned Joined Jan 1, 2014 Messages 793 Reaction score 81 PHP: INSERT INTO `permissions_commands` VALUES ('command_love', '1', '0'); U really don't like queries, lol.
PHP: INSERT INTO `permissions_commands` VALUES ('command_love', '1', '0'); U really don't like queries, lol.
Feb 24, 2017 #5 F fdsdfssfa Initiate Mage Joined Feb 16, 2017 Messages 2 Reaction score 0 Nevermind.. Fixed it Last edited: Feb 24, 2017
Mar 11, 2017 #6 K Keiz Experienced Elementalist Joined Nov 11, 2015 Messages 238 Reaction score 89 Constructive critics on your code: Name local variables with lowerCamelCase. On line 54 you create a new RoomUser for the current session, you already did that on line 41. You could spam this command over and over, flooding the room, because you instantly send the Chat packet, without checking for flooding.
Constructive critics on your code: Name local variables with lowerCamelCase. On line 54 you create a new RoomUser for the current session, you already did that on line 41. You could spam this command over and over, flooding the room, because you instantly send the Chat packet, without checking for flooding.