Why doesn't this work ?
#2

Hmm,try:
pawn Код:
if (strcmp("/command space", cmdtext, true, 14) == 0)
    {
    if(IsPlayerConnected(playerid))
   {
    //Some code over here.
   }
    return 1;
    }
I Didnt test it,But this is may work.
The 14 means the number of characters.

Wow the indentation fucked.
Reply


Messages In This Thread
Why doesn't this work ? - by Zeromanster - 11.10.2009, 12:23
Re: Why doesn't this work ? - by [XST]O_x - 11.10.2009, 12:30
Re: Why doesn't this work ? - by Zeromanster - 11.10.2009, 12:36
Re: Why doesn't this work ? - by MenaceX^ - 11.10.2009, 12:38

Forum Jump:


Users browsing this thread: 1 Guest(s)