Question

forward BettingTimer();
public BettingTimer()
{
    foreach(new i: Player)
    {
        if(BettingInfo[Started] == true){
            if(PlayerJoinedBetting == true){
                if(BettingInfo[Time] > 0){       (error coming here)
                    BettingInfo[Time] --;
                    
                    UpdateBettingTime(i);
                    UpdateTotalBets(i);
                    UpdateGamblerName(i);
                    UpdatePercentage(i);
                    UpdateTotalPayout(i);
                    if(BettingInfo[Time] == 0){
                        UpdateBettingStatus(i);
                    }
                }
            }
        }
    }
    return 1;
}
 

 

Edited by Cawfee

Share this post


Link to post

1 answer to this question

  • 0

покажите массив BettingInfo

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • YaroslavGTA
      By YaroslavGTA
      Смотрите, я прикрепил к автомобилю объект AttachObjectToVehicle, хотел бы, чтобы объект удалялся на команду через функцию DestroyObject, а именно, чтобы можно было удалить через проверку, но у меня выходят варнинги. 
      Выдает в public OnObjectMoved(objectid) error 017: undefined symbol "blue" error 017: undefined symbol "blueblue" error 017: undefined symbol "redblue в CMD добавлены  new blue new blueblue new redblue