PDA

View Full Version : Convert String to Integer


Paglia
25/07/2013, 08:15 PM
Hey everyone! I have the doubt in how to convert a string, specially the "inputtext" on OnDialogResponse, to a number, and be able to use it as one.


Thanks!

NotIntegrated
25/07/2013, 08:16 PM
This can be done with strval (http://wiki.sa-mp.com/wiki/Strval).

Paglia
25/07/2013, 08:24 PM
Thanks! Solved!