Jump to content

Димка Лебедь

Member
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Димка Лебедь

  1. вот так вызываю Server.Command($"coins.notify {player.userID} 30");
  2. [ConsoleCommand("coins.notify")] private void CoinsNotify(ConsoleSystem.Arg args) { Puts($"{args.Args.Length}"); if (args.Args.Length == 2) { string userID = args.Args[0]; string AmountCoins = args.Args[1]; double MyTimeStamp = Network.TimeEx.currentTimestamp + 7; Puts($"{userID} {AmountCoins} {Name} {Network.TimeEx.currentTimestamp}"); Dictionary<string, object> parameters = new Dictionary<string, object>{ { "Id", userID + "_" + MyTimeStamp }, { "BarType", "Timed" }, { "Plugin", Name }, { "Main_Color", "#0587E1" }, { "Image", "icon_coins" }, { "Is_RawImage", true }, { "Text", "Зараховано монет" }, { "SubText", "+" + AmountCoins + " (569)" }, { "TimeStamp", MyTimeStamp }, }; AdvancedStatus?.Call("CreateBar", userID, parameters); } } Не срабатывает почемуто в консолЬ команде
  3. is it possible to configure permissions?

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.4m
Total downloads
Customers
10.9k
Customers served
Files Sold
156.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.