Posts: 415
Threads: 145
Joined: Oct 2013
Reputation:
0
Guys, pls I need help, I have in my ini file written string. I want to make "if" this string is writen in this file but I do not have idea how to make it, im using y_ini
Posts: 241
Threads: 18
Joined: Oct 2013
Reputation:
0
If you are using y_ini then you have a code to read from the file and then it will save it in variable, so compare using strcmp or sscanf (maybe?)
or you can show us the code so we can help you better.
Posts: 415
Threads: 145
Joined: Oct 2013
Reputation:
0
Yeah I have saved it in variable but now how I can make "if" from that? Variable where is string saved is Characters [playerid][Character1]
Posts: 241
Threads: 18
Joined: Oct 2013
Reputation:
0
Can you show me your var and the string that you want to find it in the .ini file ?
EDIT: OT:Sorry getting late here gotta go sleep, find someone else to help ya
Posts: 415
Threads: 145
Joined: Oct 2013
Reputation:
0
variable: Characters [playerid][Character1]
Character1 = Name_Lastname //its saving by inputtext