String question
#1

Say a string contains a integer inside it, example:

pawn Код:
new string[12], number;
number = 7;
format(string, sizeof(string), "%i", number);
Can I somehow take the integer inside the string and use it? Because everytime I try plugging in the string, it gives me a warning:

pawn Код:
warning 213: tag mismatch
Help would be greatly appreciated, thanks for your time.
Reply


Messages In This Thread
String question - by Mento - 09.06.2012, 04:44
Re: String question - by GtasaPoliceModz - 09.06.2012, 04:51
Re: String question - by Mento - 09.06.2012, 04:52
Re: String question - by Calgon - 09.06.2012, 05:02
Re: String question - by MP2 - 09.06.2012, 05:26

Forum Jump:


Users browsing this thread: 4 Guest(s)