Dcmd question.
#4

Well you could do something like this:

pawn Code:
stock equal(string[], compare[], bool:ignorecase = true) {
    if(strlen(string) == strlen(compare) && strcmp(string, compare, ignorecase) == 0) return true;
    return false;
}
if(equal(params,"deagle"))
Reply


Messages In This Thread
Dcmd question. - by oliverrud - 06.07.2010, 11:44
Re: Dcmd question. - by Betamaster - 06.07.2010, 11:57
Re: Dcmd question. - by oliverrud - 06.07.2010, 12:03
Re: Dcmd question. - by Betamaster - 06.07.2010, 12:07
Re: Dcmd question. - by oliverrud - 06.07.2010, 12:13

Forum Jump:


Users browsing this thread: 1 Guest(s)