Why dont work??? [REP+]
#5

pawn Код:
stock  dini_PRIVATE_ExtractKey(line[]) {
    new tmp[MAX_STRING];
    tmp[0]=0;
    if (strfind(line,"=",true)==-1) return tmp;
    set(tmp,strlower(ret_memcpy(line,0,strfind(line,"=",true))));
    return tmp;
}

stock  dini_PRIVATE_ExtractValue(line[]) {
    new tmp[MAX_STRING];
    tmp[0]=0;
    if (strfind(line,"=",true)==-1) {
        return tmp;
    }
    set(tmp,ret_memcpy(line,strfind(line,"=",true)+1,strlen(line)));
    return tmp;
}
This
Reply


Messages In This Thread
Why dont work??? [REP+] - by [FoR]EveR - 31.03.2012, 15:32
Re: Why dont work??? [REP+] - by Twisted_Insane - 31.03.2012, 15:36
Re: Why dont work??? [REP+] - by [FoR]EveR - 31.03.2012, 15:37
Re: Why dont work??? [REP+] - by Kaczmi - 31.03.2012, 15:39
Re: Why dont work??? [REP+] - by [FoR]EveR - 31.03.2012, 15:40

Forum Jump:


Users browsing this thread: 3 Guest(s)