inputtext
#1

Hello!
I made a dialog_style_input.
I want to write in the dialog a name and a price and between the name and the price,a /. Ex: SumX/100000
How can I check this inputtext in 2 parts? First part,a string,the name and the second part,a number,the price?
Reply
#2

pawn Код:
new
    Name [ MAX_PLAYER_NAME ],
    Price
;
sscanf(inputtext, "p</>s[24]i", Name, Price);
Try ..
Reply
#3

There is no parts
just a nother dialog
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)