11.12.2010, 13:20
Hello to everybody around here,
I searched a long time ( in the sa-mp wiki too ) but couldn't find any solution for my problem.
I have a little text file in my scriptfiles and I want to read it out.
If one line says for example "version 0.5" I want to search for the string "version" and save the 0.5 in a variable.
I know how to read out a file with "fread" and but i can't extract different parts and split them up the like a version number.
It would be nice if s.o. is able to help me.
I searched a long time ( in the sa-mp wiki too ) but couldn't find any solution for my problem.
I have a little text file in my scriptfiles and I want to read it out.
If one line says for example "version 0.5" I want to search for the string "version" and save the 0.5 in a variable.
I know how to read out a file with "fread" and but i can't extract different parts and split them up the like a version number.
It would be nice if s.o. is able to help me.