Re: enable command bcstorm
Would be something like this (Replace SoftEnvironment with your environment name ;))
Code:
internal void effect()
{
string username = this.Params[1];
int effectId = int.Parse(this.Params[2]);
GameClient player = SoftEnvironment.getHabboForName(username).GetClient();
if (player != null)
{
player.GetHabbo().GetAvatarEffectsInventoryComponent().ApplyCustomEffect(effectId);
}
}
Re: enable command bcstorm
Quote:
Originally Posted by
Vrop93
Would be something like this (Replace SoftEnvironment with your environment name ;))
Code:
internal void effect()
{
string username = this.Params[1];
int effectId = int.Parse(this.Params[2]);
GameClient player = SoftEnvironment.getHabboForName(username).GetClient();
if (player != null)
{
player.GetHabbo().GetAvatarEffectsInventoryComponent().ApplyCustomEffect(effectId);
}
}
Awesome! :D Thanks dude :))))