Jump to content

sept update broke it

Pending 1.0.0

mcsigu
mcsigu

Posted

o.load RenameName
[CSharp] Started Oxide.Compiler v successfully
Error while compiling RenameName: No overload for method 'SendNetworkUpdateImmediate' takes 1 arguments | Line: 117, Pos: 20

Bad Land

Posted

change to this in .cs
 

public void Rename(BasePlayer player, string name)
{
    name = (string.IsNullOrEmpty(name.Trim()) ? player.displayName : name);
    player.net.connection.username = name;
    player.displayName = name;
    player._name = name;

    // FIX: ya no acepta argumentos
    player.SendNetworkUpdateImmediate();

    player.IPlayer.Name = name;
    permission.UpdateNickname(player.UserIDString, name);
}

2.2m

Downloads

Total number of downloads.

10.3k

Customers

Total customers served.

148.5k

Files Sold

Total number of files sold.

3.2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.