Need /block Command
#3

Looks ok. And you shall do with other commands...
pawn Код:
//whatever command.. let's take hi command (ex)
if(strcmp(cmd, "/hi", true) == 0)
{
  new tmp[50];
  tmp = strtok(cmdtext, idx);
  new val = strval(tmp);
  if(IsPlayerConnected(val))
  {
    //and all other things
  }
  if(Block[val] == 1) return; //return, command doesn't do anything
}
Reply


Messages In This Thread
Need /block Command - by micki501 - 07.02.2009, 18:28
Re: Need /block Command - by ICECOLDKILLAK8 - 07.02.2009, 18:30
Re: Need /block Command - by pspleo - 07.02.2009, 18:31
Re: Need /block Command - by micki501 - 07.02.2009, 18:33
Re: Need /block Command - by micki501 - 07.02.2009, 18:48
Re: Need /block Command - by micki501 - 08.02.2009, 09:29
Re: Need /block Command - by pspleo - 08.02.2009, 10:18

Forum Jump:


Users browsing this thread: 1 Guest(s)