Need help in scripting (basic stuff)
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)Code:
register_clcmd("say .record", "recordplayer", ADMIN_ADMIN, "<player>")Quote:
|
Re: Need help in scripting (basic stuff)
1. Printing a message just to admins:
PHP Code:
- add this in plugin_init() PHP Code:
|
| All times are GMT -4. The time now is 09:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.