Hey people, I've a question: this is my new command:
Code:

case 120:
if(Session.GetHabbo().HasFuse("cmd_ricarica"))
{
if(Session.GetHabbo().Credits > 1000)
{
Session.SendNotification("Hai pi¨ di 1000 crediti");
}
if(Session.GetHabbo().Credits < 1000)
{
Session.GetHabbo().Credits = 150000;
Session.SendNotification("Hai ricaricato i tuoi crediti");
Session.GetHabbo().UpdateCredits(true);
return true;
}
}
return false;

When I enter in hotel and I type :ricarica, I've a simple chat without the command.. How the commands work? I've add the query in permissions_ranks and permissions_users in database.. any ideas? Thanks.


Original thread started by GlobeCMS in Habbo Help Category in date of 12-11-2015 23:48.