PLUSEMU Staff Badge

Blasteh

big tits
Apr 3, 2013
1,156
521
Hello,
I'm looking to change the staff badge effect above a staff members head to a lower rank, by default I think it's 5, but I need it at 3. I have Visual Studio, could anyone tell me where to find this in the source? Thanks.
 

Velaski

winner
Aug 4, 2015
562
165
RoomUserManager.cs
I'm not on visual studio right now but I'll guess it.
It should say something along the lines of if(user has modtool) - use this effect.
Where it says if(has modtools) change it to if(Session.getHabbo().Rank => 3)


Sorry if this didnt make much sense, I'm not at home.
 
I am on visual studio now..
Open RoomUserManager.cs and find this code:
Code:
            if (Session.GetHabbo().GetPermissions().HasRight("mod_tool") && !Session.GetHabbo().DisableForcedEffects)
                Session.GetHabbo().Effects().ApplyEffect(102);
Change this to:
Code:
            if (Session.GetHabbo().Rank => 3 && !Session.GetHabbo().DisableForcedEffects)
                Session.GetHabbo().Effects().ApplyEffect(102);
Hope this helped :D
 

Blasteh

big tits
Apr 3, 2013
1,156
521
RoomUserManager.cs
I'm not on visual studio right now but I'll guess it.
It should say something along the lines of if(user has modtool) - use this effect.
Where it says if(has modtools) change it to if(Session.getHabbo().Rank => 3)


Sorry if this didnt make much sense, I'm not at home.
 
I am on visual studio now..
Open RoomUserManager.cs and find this code:
Code:
            if (Session.GetHabbo().GetPermissions().HasRight("mod_tool") && !Session.GetHabbo().DisableForcedEffects)
                Session.GetHabbo().Effects().ApplyEffect(102);
Change this to:
Code:
            if (Session.GetHabbo().Rank => 3 && !Session.GetHabbo().DisableForcedEffects)
                Session.GetHabbo().Effects().ApplyEffect(102);
Hope this helped :D
Change this?
You must be registered for see images attach

 
Give's an error when changing..
You must be registered for see images attach
 
May 1, 2015
470
154
You change it in RoomUserManager.cs
Change
Code:
if (Session.GetHabbo().GetPermissions().HasRight("mod_tool") && !Session.GetHabbo().DisableForcedEffects)
Session.GetHabbo().Effects().ApplyEffect(102);
to the following:
Code:
if (Session.GetHabbo().Rank > 3 && !Session.GetHabbo().DisableForcedEffects)
Session.GetHabbo().Effects().ApplyEffect(102);
 

Users who are viewing this thread

Top