@bot.message_handler(commands=['start'])
def start(message):
markup = types.ReplyKeyboardMarkup(resize_keyboard=False, one_time_keyboard=True)
btn1 = types.KeyboardButton(" Кейсы")
btn2 = types.KeyboardButton(" Статистика")
btn3 = types.KeyboardButton(" Отзывы")
markup.row(btn1, btn2)
markup.row(btn3)
bot.send_photo(message.from_user.id, first_photo, caption=first_msg, reply_markup=markup)
@bot.message_handler(content_types=['text'])
def executor(message):
markup = types.InlineKeyboardMarkup()
btn1 = types.InlineKeyboardButton(" Bum Case (19Р)")
markup.add(btn1)
bot.send_message(message.from_user.id, 'Работает!!!', reply_markup=markup)
Error loading Ad Unit SpaceX: INVALID_ARGUMENT - Placement SpaceX does not exist for gameId: 4938705
UnityEngine.Debug:Log (object)
Rewarded:OnUnityAdsFailedToLoad (string,UnityEngine.Advertisements.UnityAdsLoadError,string) (at Assets/Rewarded.cs:79)
UnityEngine.Advertisements.Utilities.CoroutineExecutor:Update () (at Library/PackageCache/com.unity.ads@4.3.0/Runtime/Advertisement/Utilities/CoroutineExecutor.cs:17)
Error showing Ad Unit SpaceX: NOT_READY - Placement SpaceX is not ready
UnityEngine.Debug:Log (object)
Rewarded:OnUnityAdsShowFailure (string,UnityEngine.Advertisements.UnityAdsShowError,string) (at Assets/Rewarded.cs:84)
UnityEngine.Advertisements.Utilities.CoroutineExecutor:Update () (at Library/PackageCache/com.unity.ads@4.3.0/Runtime/Advertisement/Utilities/CoroutineExecutor.cs:17)
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class EcoNoM : MonoBehaviour
{
// Start is called before the first frame update
public double Balance;
public Text text;
public int GH = 100;
public double UP;
public double ch = 0.000001;
void Start()
{
InvokeRepeating("Hah", 0, 1);
}
public void Hah()
{
UP = (GH * ch);
Balance += UP;
PlayerPrefs.SetString("Bal", Balance.ToString());
PlayerPrefs.Save();
text.text = Balance.ToString();
}
// Update is called once per frame
void Update()
{
}
}