Send something to the server log?
#5

You can also make a notice to the server log (i'm not exactly pro in strcmp so i'm using dcmd with sscanf)
pawn Код:
dcmd_notice(playerid,params[])
{
  new string[128];
  if(sscanf(params,"s",string)) {
    SendClientMessage(playerid,COLOR,"[USAGE] /notice [text] (this will text something in the server log)");
  }
  else {
    printf("[PLAYER NOTICE] %s",string);
    SendClientMessage(playerid,COLOR,"[SUCCESFULL] You have successfully printed something into the servers log");
  }
  return 1;
}
Just for you to get the idea.
Reply


Messages In This Thread
Send something to the server log? - by Sal_Kings - 22.01.2010, 16:21
Re: Send something to the server log? - by pascallj - 22.01.2010, 16:26
Re: Send something to the server log? - by Sal_Kings - 22.01.2010, 16:29
Re: Send something to the server log? - by pascallj - 22.01.2010, 16:34
Re: Send something to the server log? - by KnooL - 22.01.2010, 16:41

Forum Jump:


Users browsing this thread: 1 Guest(s)