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?
0

Downloads

Total number of downloads.

0

Customers

Total customers served.

0

Files Sold

Total number of files sold.

0

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.