Hello all, I was wondering how I can make a Frequent Flyer System for my airline but I don’t know where to start. I have even looked so many places on the internet, but there doesn’t seem to be a tutorial which makes it more complicating.
I have also tried looking for answers on the Dev Forum but there is no tutorial or any kind of solution to be found anywhere. Can somebody please tell me how I can accomplish this, please include detailed steps so I can clearly understand.
I would use datastores to store the last time they logged on, how many times in the past week or so, or things like how many times per a day they log on to the game.
Hope this helps!
I would use a datastore. If my datastore returns a specific amount or greater, I would use BadgeService and award them a badge or whatever they would need. Since I’m on mobile, I’ll just explain how this’ll work:
Once the user books or checks-in for a flight or joins a game, use a function and call for how many times a player has flown from the datastore key. If the amount is over a specific amount then you can use BadgeService to award a badge or use the if statement to continue your function and add the flight to the datastore.