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);
}

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11k
Customers served
Files Sold
158.6k
Marketplace sales
Payments
3.4m
Processed total
×
×
  • 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.