Posts: 30
Threads: 16
Joined: Jun 2017
I just make a textdraw system payphone, on the textdrawstring it's setting numbers but when i press CALL i want to call the number is on the string
How can i do it?
I think i need to get the textdraw string probably, but how?
Posts: 1,915
Threads: 64
Joined: Jan 2016
Reputation:
0
When a player press a number, add it to the string. If you need the number as an integer, use strval at the end
Posts: 687
Threads: 35
Joined: Oct 2014
Reputation:
0
Make the number that's being called a string.
Append a number to the end of the string (if you want numbers to start with 0, if not then theres no need for strings)
Check if phone number exists
Call?