ReadConf() { new MyVal[256]; new File:cfg=fopen("rumble.cfg", io_read); new string[256]; while(fread(cfg, string)){ if(strcmp(string, "MyVal", true)==0) { MyVal=GetVal(1, string); } } } GetVal(numb, str[]) { new tmp[256], idx; for(new i=0; i