Convert string with numbers into numbers only?
#5

Well, yea, that was just an example, I'm making a top 5 command, and I save the persons in a file with their name and score, "MyName 500", and I need to take "500" from the file.. I used:

pawn Код:
File: hsfile = fopen("/Top5/Top5.ini", io_read);
fread(hsfile, tmp, 128);
buff = strval(tmp);
But didn't work..
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)