#1

I made logs for PM Command and more... but when i do PM it put it in PM + Commands and i want it only in PM...
How can i do it...
I tried do like this:
new cmd[256], idx;
cmd = strtok(cmdtext, idx);
if(strcmp(cmd, "/PM", true) == 0 || strcmp(cmd, "/PrivateMessage", true) == 0)
Reply
#2

wherever you want to log the action on the serverlog

replace the variables with your own obviously

pawn Код:
printf("PM from %s > %s: %s", sendername, giveplayer, string);
Reply
#3

You should try posting on the Non-English sections. And please try to elaborate.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)