New Achievement Score Command For R63B :)

Jayseanp

Soooo Bored!
Oct 26, 2013
394
37
Hey Devbest, I made the command to which most of you were looking for, the achievement score command.
1. Add this code in
Butterfly / Habbo Hotel / Misc / ChatCommandHandler.cs :
internal void change score ()
{
Game Client clientByUsername = null;
Room currentRoom = this.Session.GetHabbo () Current Room;.
clientByUsername = ButterflyEnvironment.GetGame () GetClientManager () GetClientByUsername (this.Param s [1])..
if ( clientByUsername = null)!
{
int num;
if (int.TryParse (this.Params [2], out num))
{
clientByUsername.GetHabbo () Achievement Points = num;.
clientByUsername.SendNotif (this.Session.GetHabbo () Username. + "changed your achievement score to" num.ToString + () +) '.'
this.Session.SendNotif ("Done.");
}
else
{
this.Session.SendNotif ("Please enter a number.");
}
}
else
{
this.Session.SendNotif ("User not found.");
}
------------------------------------------------------------------------------------------------------------------------------
Ends Here
------------------------------------------------------------------------------------------------------------------------------
2. Add this code to Butterfly / Messages / ChatCommandRegister.cs :
case 97:
commandHandler.changescore ();
break;
-------------------------------------------------------------------------------------------------------------------------------
3. Add this code to bin / debug / System / commands.ini :
[Change score]
= 7 changescore.minrank
changescore.description = Change the achievement score of a user in the hotel
changescore.prefix =
changescore.input = change score
= changescore.clubs
--------------------------------------------------------------------------------------------------------------------------------
Add this code to bin / debug / System / commands_register.ini :
change score = 97
---------------------------------------------------------------------------------------------------------------------------------

Run

The run, do the following in the client,
enter this code in the hotel ( Remove the [and] away! )
  • : Change score [Name] [Number]

I hope it works!
Credits To My Mate 55% For Helping Me Out Alot.
Credits To Me 45% Figuring This Out .
 

Users who are viewing this thread

Top