16.04.2014, 16:37
i wanna create Cmd with quota ,
examplae i got 1 ticket in payday , and max ticket is 5
and when i have 5 ticket and i use for cmd needed 1 ticket so it will decrease 1 ticket so i have 4 ticket now
and when i have 0 ticket and use cmd with needed 1 ticket it will be show error message .
and it will be saved , example before iam logout my ticket is 2 and when i logout and login back the ticket still 2 .
anyone can help ?
Sorry for my bad english .
examplae i got 1 ticket in payday , and max ticket is 5
and when i have 5 ticket and i use for cmd needed 1 ticket so it will decrease 1 ticket so i have 4 ticket now
and when i have 0 ticket and use cmd with needed 1 ticket it will be show error message .
and it will be saved , example before iam logout my ticket is 2 and when i logout and login back the ticket still 2 .
anyone can help ?
Sorry for my bad english .