[PLUS EMULATOR] Weapon's Command

Newbie Spellweaver
Joined
Jan 15, 2017
Messages
24
Reaction score
4
Hello Friends,
Following the guidance : http://forum.ragezone.com/f353/enables-weapons-uzi-ak47-p90-1124599/
Take Effect!
And, Go to => HabboHotel/Rooms/Chat/Command/User and create new file.cs
Called to Weaponslist.cs
Code:
http://pastebin.com/5xKSnnAh
f375e804b4ad22b45609ac11968fbb5a - [PLUS EMULATOR] Weapon's Command - RaGEZONE Forums

SQL Query :
Code:
 INSERT INTO `permissions_commands` VALUES ('command_weapons', '1', '0');
And , Go to HabboHotel/Rooms/Chat/Command/User and create new file.cs called to UziCP.cs

Code:
http://pastebin.com/Lqv5XPpG
[video]https://i.gyazo.com/d73bf3258ea79383b620d270f7167b3b.mp4[/video]
SQL QUERY
Code:
INSERT INTO `permissions_commands` VALUES ('command_uzicp', '1', '0');
AND GO TO CommandManager.cs and add to
Code:
this.Register("uzicp", new UziCPCommand());
Code:
this.Register("weapons", new WeaponsList());
 
Do you know what you're doing though? It seems a lot like you copied a Kiss command and changed the texts.

Code:
RoomUser SessionUser = Session.GetHabbo().CurrentRoom.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);

And then like 10 lines further
Code:
if (!((Math.Abs(TargetUser.X - SessionUser.X) >= 2) || (Math.Abs(TargetUser.Y - SessionUser.Y) >= 2)))            {                RoomUser ThisUser = Room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);

If you create SessionUser before an if, you can still use it inside the if, just not the other way around!
 
Funny how everyone who is able to compile an Emulator think hes a pro developer. Btw, these weapons don't look good in my opinion also it isn't habboish. I mean its a game for f'kn kiddos lol. if you wanna play counter strike buy it on steam.

Lovely greetings to all moderators who wanna delete this post <3
 
Do you know what you're doing though? It seems a lot like you copied a Kiss command and changed the texts.

Code:
RoomUser SessionUser = Session.GetHabbo().CurrentRoom.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);

And then like 10 lines further
Code:
if (!((Math.Abs(TargetUser.X - SessionUser.X) >= 2) || (Math.Abs(TargetUser.Y - SessionUser.Y) >= 2)))            {                RoomUser ThisUser = Room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);


If you create SessionUser before an if, you can still use it inside the if, just not the other way around!

It was not copied anywhere, even renamed for that haha.The wish was to do something with weapons.
 
Good release, mate! You made it great. Dont listen to Lumina because he is jelly of your projects! Keep going with whatever you're doing my friend.
 
Good release, mate! You made it great. Dont listen to @Lumina because he is jelly of your projects! Keep going with whatever you're doing my friend.

Oh yeah I'm jelly af. Jelly like a Jellybean. Pls gimme all some talent.
 
Back