SA-MP Forums Archive
inputtext - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: inputtext (/showthread.php?tid=381349)



inputtext - SumX - 29.09.2012

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?


Re: inputtext - RaZVaN ^ xD - 29.09.2012

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


Re: inputtext - Gangster-rocks - 29.09.2012

There is no parts
just a nother dialog