Commands from the console?
#5

Example:

pawn Код:
if(strcmp(cmd,"kickall",true) == 0)
{
  for(new i=0;i<MAX_PLAYERS;i++)
  {
    SendClientMessageToAll(COLOR_RED,"RCON: An admin as kicked all from the console.");
    Kick(i);
  }
  return 1;
}
I know why it doesn't work with me, because before i was using strtok
Reply


Messages In This Thread
Commands from the console? - by Sasino97 - 03.03.2011, 14:13
Re: Commands from the console? - by JaTochNietDan - 03.03.2011, 14:17
Re: Commands from the console? - by Sasino97 - 03.03.2011, 14:21
Re: Commands from the console? - by JaTochNietDan - 03.03.2011, 14:30
Re: Commands from the console? - by Sasino97 - 03.03.2011, 14:50
Re: Commands from the console? - by JaTochNietDan - 03.03.2011, 14:53
Re: Commands from the console? - by Sasino97 - 03.03.2011, 15:28
Re: Commands from the console? - by JaTochNietDan - 03.03.2011, 15:30
Re: Commands from the console? - by Mean - 03.03.2011, 16:27
Re: Commands from the console? - by Sasino97 - 06.03.2011, 15:04

Forum Jump:


Users browsing this thread: 3 Guest(s)