07.02.2009, 18:31
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
}

