Someone
public text v1 · immutable#
ReadConf()
#
{ // 1 open
#
GetVal(numb, str[]) { // 2 open
#
new tmp[256], idx;
#
for(new i=0; i<numb; i++) { 3 open
#
tmp=strtok(str, idx);
#
} // 2 open
#
return strval(tmp);
#
new File:cfg=fopen("rumble.cfg", io_read);
#
new string[256];
#
while(fread(cfg, string)){ // 3 open
#
if(strcmp(string, "Time", true)==0) { MyVal=GetVal(1, string); }
#
} // 2 open
#
} // 1 open still