ENABLE & BUBBLE STAFF WITHOUT COMMAND

Status
Not open for further replies.
Dec 17, 2017
151
19
Hi guys!

I would like every time a staff member enters the hotel to check the effect above the head and the bubble staff (number 23) without having to activate them with the commands.

I use base of Plus Emu
Thanks!
 

n4te

zzz
Oct 27, 2014
669
293
Hi guys!

I would like every time a staff member enters the hotel to check the effect above the head and the bubble staff (number 23) without having to activate them with the commands.

I use base of Plus Emu
Thanks!
I think that's already enabled by default? It was when I use to use Plus anyway.
 

Joe

Well-Known Member
Jun 10, 2012
4,172
1,955
For the bubble try
Code:
             if (Session.GetHabbo().GetPermissions().HasRight("mod_tool"))
                Colour = 23;

The default over head enable should automatically be enabled if you’ve got the mod_tool permission (in PlusEMU).
 
Dec 17, 2017
151
19
For the bubble try
Code:
             if (Session.GetHabbo().GetPermissions().HasRight("mod_tool"))
                Colour = 23;

The default over head enable should automatically be enabled if you’ve got the mod_tool permission (in PlusEMU).
Hi, i have one error with Visual Studio

Colour not exist
 
Dec 17, 2017
151
19
Where are you putting the code?
After the staff effect tag.
 
PHP:
            if (Session.GetHabbo().GetPermissions().HasRight("mod_tool") && !Session.GetHabbo().DisableForcedEffects)
                Session.GetHabbo().Effects().ApplyEffect(102);
            if (Session.GetHabbo().GetPermissions().HasRight("mod_tool") && !Session.GetHabbo().DisableForcedEffects)
                Colour = 23;
@JMG
 
Last edited:
Status
Not open for further replies.

Users who are viewing this thread

Top