How to change ranks floodtime example :
Admin = 0 Floodtime
VIP - 20 Secs. Flood Time
Printable View
How to change ranks floodtime example :
Admin = 0 Floodtime
VIP - 20 Secs. Flood Time
Bump!
Go in GameClientMessageHandler.cs and find this:
Change message2.AppendInt32(30); for time that you wantPHP Code:if (((span.Seconds < 4) && (this.FloodCount > 5)) && (this.Session.GetHabbo().Rank < 5))
{
ServerMessage message2 = new ServerMessage(Outgoing.FloodFilter);
message2.AppendInt32(30);
roomUserByHabbo.GetClient().SendMessage(message2);
}
Example:
message2.AppendInt32(10); for 10 seconds
If you want, you can customize the code like this:
In this example the user admin has floodtime of 20 seconds and others 30 secondsPHP Code:if (((span.Seconds < 4) && (this.FloodCount > 5)) && (this.Session.GetHabbo().Rank < 5))
{
ServerMessage message2 = new ServerMessage(Outgoing.FloodFilter);
if (Session.GetHabbo().Username == "admin")
message2.AppendInt32(20);
else
message2.AppendInt32(30);
roomUserByHabbo.GetClient().SendMessage(message2);
}
For use a VIP your must create a int VIP in HabboData with specs appropriates
Bye (=
Can i add another rank ??
BTW thanks =D
- - - Updated - - -
I Dont know what to do can you help me with teamviewer?
Add my skype : joshua.medina8
Correct me if i'm wrong.. but can't this be down via database?..