DonatorRank

Approved DonatorRank 1.7.1

No permission to download
@PearlJ @tarynkelley Kits + Cooldowns should be fixed.
As for the Rust++ Mute, You'll have to talk to DreTaX about adding a method to do IsMuted(Player):Bool
Once that has been created i'll be able to easily fix this issue. ( I tried to hack my around this but I couldn't mute myself.. so yeah..)
You only want that? Fairly solveable.

I wonder why that happens though? It's kinda freaking weird.

I will add It.
 
That doesn't mean you solved It.
please tell me how to check the number in the Datastore?Suppose
DataStore.Add("Player", Player.SteamID, args[0]);

If the value is more than 2 then perform the action correctly?

if (DataStore.Get("Player", Player.SteamID) > "2");
action
 
please tell me how to check the number in the Datastore?Suppose
DataStore.Add("Player", Player.SteamID, args[0]);

If the value is more than 2 then perform the action correctly?

if (DataStore.Get("Player", Player.SteamID) > "2");
action
Well args[0] would be string and "2" is string, So doing > wouldn't be right and probably always return False. You'll have to convert the string to int by doing Number("String"); or PhaseInt("String);
 
muted = RustPP.IsMuted(Player.SteamID)

must be

muted = RustPP.IsMuted(Player)

C#:
 public bool IsMuted(Player pl)
        {
            return RustPP.Core.muteList.Contains(pl.UID);
        }
 
I created a SteamID function too as far as I remember. Didnt I?

Sent From My Samsung Galaxy S4

Right

but its ulong, not string.

C#:
public bool IsMuted(ulong id)
  {
  return RustPP.Core.muteList.Contains(id);
  }

[IronPython] Error in plugin DonatorRank:
Traceback (most recent call last):
File "<string>", line 914, in On_Chat
TypeError: expected Player, got str

Fix:

muted = RustPP.IsMuted(long(Player.SteamID))