22.01.2010, 16:41
You can also make a notice to the server log (i'm not exactly pro in strcmp so i'm using dcmd with sscanf)
Just for you to get the idea.
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;
}