First of all, hello there to everyone. This my first post here on AM.
I've decided to make a custom plugin for my servers, so that my admins could make people record demos and take screenshots.
I am a total newbie to scripting for amx, but have knowledge in C+ & Java.
Plugin itself is working just some coding problems, I need your help in :
1. Instead of sending this message to public chat, I want to be printed for admins only
(ADMINS).........
Code:
client_print(0, print_chat, "** Screenshot taken on player ^"%s^" by admin ^"%s^" (%s) **", name, adminname, timestamp)
2. And second procedure I am asking you to help with is how to register a chat command:
Code:
register_clcmd("say .record", "recordplayer", ADMIN_ADMIN, "<player>")
to do
and the user with this authid will start to record a P

V demo.