problem whith custom stat

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

problem whith custom stat

Postby majonyjony » Thu Dec 13, 2012 2:36 pm

HI, when i test this:
if ((cnt_vpip / (cnt_hands - cnt_walks)) <16, 'NIT',
if ((cnt_vpip / (cnt_hands - cnt_walks))>=16 and (cnt_vpip / (cnt_hands - cnt_walks))<22, 'TIGHT',
if ((cnt_vpip / (cnt_hands - cnt_walks))>=22 and (cnt_vpip / (cnt_hands - cnt_walks))<30, 'SEMILOOSE',
if ((cnt_vpip / (cnt_hands - cnt_walks))>=30 and (cnt_vpip / (cnt_hands - cnt_walks))<40, 'LOOSE',
if ((cnt_vpip / (cnt_hands - cnt_walks))>=40, 'R DEBIL',
,
'N/A')))))

ALL players are NIT,
and display type is NORMAL, and in table appears with other mode.
..and the colors I have configured (in the stat, not in the HUD) do not work...

Sorry about my english.
majonyjony
 
Posts: 108
Joined: Wed Oct 08, 2008 4:01 am

Re: problem whith custom stat

Postby kraada » Thu Dec 13, 2012 7:28 pm

You haven't multiplied by 100 - so you're ending up with a bunch of decimals which are always going to be under 16 :)
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: problem whith custom stat

Postby majonyjony » Thu Dec 13, 2012 8:15 pm

:lol: OMG
I go to sleep...

TY Kraada
majonyjony
 
Posts: 108
Joined: Wed Oct 08, 2008 4:01 am


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 19 guests

cron
highfalutin