/kick and admin chat
#2

You cannot use "SendClientMessage" like you are now. You need to format the string, including the params. Something like this should suffice for what you need now:

pawn Код:
new string[128];
format(string, sizeof(string), "You have been kicked by %s for: %s", adminname, params[2]);
SendClientMessage(pid, AdminColor, string);
Show the code for your admin chat and I'll make a DCMD command for you.
Reply


Messages In This Thread
/kick and admin chat - by xir - 29.12.2010, 20:19
Re: /kick and admin chat - by Scenario - 29.12.2010, 20:24
Re: /kick and admin chat - by xir - 29.12.2010, 20:28
Re: /kick and admin chat - by Scenario - 29.12.2010, 20:34
Re: /kick and admin chat - by xir - 29.12.2010, 20:36
Re: /kick and admin chat - by xir - 29.12.2010, 20:39
Re: /kick and admin chat - by _rAped - 29.12.2010, 21:26
Re: /kick and admin chat - by Scenario - 30.12.2010, 15:51

Forum Jump:


Users browsing this thread: 1 Guest(s)