Checking if string is writen in .ini file (y_ini)
#1

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
Reply
#2

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.
Reply
#3

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]
Reply
#4

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
Reply
#5

variable: Characters [playerid][Character1]

Character1 = Name_Lastname //its saving by inputtext
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)