[UBER] Givebadge Command [JNike]
Hey, i made this time a givebadge command, it works so:
:givebadge NAME BADGECODE
Example:
:givebadge JNike ADM
Questions? Feel free to ask.
Anyways, code:
PHP Code:
case "givebadge":
{
if (Session.GetHabbo().Rank >= 6)
{
TargetUser = Params[1];
TargetClient = UberEnvironment.GetGame().GetClientManager().GetClientByHabbo(TargetUser);
if (TargetClient == null || TargetClient.GetHabbo() == null)
{
Session.SendNotif("Konnte User: " + TargetUser + " nicht finden!");
return true;
}
else if (TargetClient.GetHabbo().Rank >= Session.GetHabbo().Rank)
{
Session.SendNotif("Du hast kein Recht ihm ein Badge zu geben!");
return true;
}
else
{
TargetClient.GetHabbo().GetBadgeComponent().GiveBadge("" + Params[2] + "", true);
}
}
return true;
}
Made by "jnike" aka me lol. :sleep:
Re: [UBER] Givebadge Command [JNike]
It's already be made??
I've seen that command before in a other emulator, I beleave slaxxer's one, But not sure
Re: [UBER] Givebadge Command [JNike]
Yes,
It is already in Slaxxars edit :o
Re: [UBER] Givebadge Command [JNike]
Bad... | 1/10
Its just copied from Slaxxer's edit!
Re: [UBER] Givebadge Command [JNike]
Quote:
Originally Posted by
Lubba
Bad... | 1/10
Its just copied from Slaxxer's edit!
************ *******, shut the **** up if you dont know what the hell you are saying.
To all s**pid f**s there. I CODED IT MY SELF!
Go on, compare it with slaxxer his, *****g re**rds. Just crying :grr:
Lol so much * xd
Re: [UBER] Givebadge Command [JNike]
Quote:
Originally Posted by
Lubba
Bad... | 1/10
Its just copied from Slaxxer's edit!
What the fok are you on about!?? This is not even in Slaxxers emulator, N00B...
OnTopic:
Great release!
Re: [UBER] Givebadge Command [JNike]
Quote:
Originally Posted by
iPixelHotel
What the fok are you on about!?? This is not even in Slaxxers emulator, N00B...
OnTopic:
Great release!
Yah thanks, btw i made this myself, slaxxer was on teamviewer on the time i was coding the roombadge and givebadge command, its not a copy :thumbdown:
Re: [UBER] Givebadge Command [JNike]
I believe that you made this yourself ;)
Can you be able to give me the following commands:
:masscredits
:massbadge
Re: [UBER] Givebadge Command [JNike]
Quote:
Originally Posted by
iPixelHotel
What the fok are you on about!?? This is not even in Slaxxers emulator, N00B...
OnTopic:
Great release!
Yah thanks, btw i made this myself, slaxxer was on teamviewer on the time i was coding the roombadge and givebadge command, its not a copy :thumbdown: