What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

function taxPayedTime returns an incorrect value

Barok

Member
Joined
Sep 11, 2014
Messages
231
Reaction score
0
function taxPayedTime returns an incorrect value. weeksWithoutPay also. RU servers
housing.webp
Code:
if (me.target != null && me.target.type == BotTypes.Housing)
                {
                    Housing pugalo = me.target as Housing;
                    if (!pugalo.UpdateTaxInfo())
                    {
                        Log(DateTime.Now.ToString() + ": Цель далеко. Подойди ближе!");
                    }
                    else
                    {
                        Log(pugalo.name + " " + pugalo.ownerName + " " + pugalo.weeksWithoutPay + " " + pugalo.taxPayedTime);
                    }
                }
                else
                {
                    Log(DateTime.Now.ToString() + ": Не выбрана цель, либо это не постройка!");
                }

Log:
Code:
Пугало xxxxxxx 0 6283838596328279760

0 and 6283838596328279760 incorrect value
 
Last edited:
Back
Top