Auto digits calculator from a dialog

qBogdan

Member
Joined
Aug 8, 2019
Messages
17
Reaction score
1
Hello!
Can someone help me create an app that reads text from a dialog and finds the numbers, then adds or multiplies them?
I tried to do it myself, but I got stuck when I need to found the operator in the text and convert it. Numbers can be added or multiplied. Numbers are from 0 to 9. Thank you in advance! Sorry for my bad english!
 

Attachments

  • IMG_20210414_213909889.jpg
    IMG_20210414_213909889.jpg
    223.4 KB · Views: 47

Parazitas

God
Joined
Jan 2, 2017
Messages
3,112
Solutions
5
Reaction score
878
Location
Lithuania
Don't post same thread in three different forum categories.., otherwise you will be punished.

This is first and last warning!..
 

qBogdan

Member
Joined
Aug 8, 2019
Messages
17
Reaction score
1
Don't post same thread in three different forum categories.., otherwise you will be punished.

This is first and last warning!..
I apologize for that, I didn't know exactly where to post so I posted in several places. It will not be repeated.
 

JaggerJam

Active member
Joined
Sep 14, 2017
Messages
97
Reaction score
21
Type [/dset TD_ID_BUY_TEXT TD_ID_CLICK_BUTTON] both ID's for textdraw text and textdraw BUY button, u can use txd_finder that can show u the ID of all textdraws on screen to activate it type /txd. Cya

Bft nab @qBogdan
 

Attachments

  • DS_buy.cs
    21.6 KB · Views: 12
  • txd_finder.cs
    21.1 KB · Views: 10

qBogdan

Member
Joined
Aug 8, 2019
Messages
17
Reaction score
1
Type [/dset TD_ID_BUY_TEXT TD_ID_CLICK_BUTTON] both ID's for textdraw text and textdraw BUY button, u can use txd_finder that can show u the ID of all textdraws on screen to activate it type /txd. Cya

Bft nab @qBogdan

Thank you very much for the answer, but I have a few more questions. What should I type in chat? I typed [/dset 63 62] and nothing happened. I tried other combinations like 62 63 but still nothing. I know I'm a noob, but I really don't know what to do. Please help me!
 

qBogdan

Member
Joined
Aug 8, 2019
Messages
17
Reaction score
1
U need to type 2175 and 63

Thank you very much. It works perfectly. Now I will be able to buy a car when stock is added. Generally, the stock runs out in less than 1 second. You saved me. I don't know how to thank you anymore. I wish you a wonderful day <3
 
Top