Discuss how to create custom stats, reports and HUD profiles and share your creations.
Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators
by 4StarGen » Fri Feb 15, 2019 7:02 am
I've made a simple report
Now I want to make a custom stat that shows an arrow in the corresponding row of today. How can I do it? (beside displaying an arrow that I'm capable of doing that)
-
4StarGen
-
- Posts: 929
- Joined: Sat Mar 08, 2014 6:58 am
-
by WhiteRider » Fri Feb 15, 2019 10:17 am
You can make a boolean (true/false) custom column like this, which compares the date played with the date of "now":
- Code: Select all
dateextract_date[ datefix_fromutc[ cash_hand_player_statistics.date_played ]] = dateextract_date[ datefix_fromutc[ now() ]]
Since you've already got images in your report I think you'll be ok displaying your arrow if that is true.
-
WhiteRider
- Moderator
-
- Posts: 53972
- Joined: Sat Jan 19, 2008 7:06 pm
- Location: UK
Return to Custom Stats, Reports and HUD Profiles
Users browsing this forum: No registered users and 35 guests