Habbo phoenix emulator masscredits limit

Avduf

Member
Dec 24, 2012
153
5
Hello i'm using phoenix 3.11.0 emulator and wondering how i limit the masscredits like you can only give max 30000 credits
 

Avduf

Member
Dec 24, 2012
153
5
Yes lol, that's my question what should i edit?
 
case 25:
if (Session.GetHabbo().HasFuse("cmd_masscredits"))
{
try
{
int num5 = int.Parse(Params[1]);
Phoenix.GetGame().GetClientManager().method_18(num5);
}
catch
{
Session.SendNotif("Ett nummer tack");
}
Phoenix.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
return true;
}
return false;
.
Anything here?
 

Yadz

Active Member
Feb 20, 2015
174
25
Yes lol, that's my question what should i edit?
 
Anything here?
Yes
Replace it with this:
Code:
case 25:
                if (Session.GetHabbo().HasFuse("cmd_masscredits"))
                {
                    try
                    {   
                        int num5 = int.Parse(Params[1]);
                        if (num5 > 30000)
                        {
                            Session.SendNotif("Du kan inte ge ut mer än 30000 credits.");
                        }
                        else
                        {
                            Phoenix.GetGame().GetClientManager().method_18(num5);
                        }
                    }
                    catch
                    {
                        Session.SendNotif("Ett nummer tack");
                    }
                    Phoenix.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
                    return true;
                }
                return false;
 

Users who are viewing this thread

Top