View Single Post
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 09-06-2010 , 13:11   Re: Amx Log Advanced v1.4
Reply With Quote #4

In client connect / client disconnect/ client say/ client team_say you should use static variables because it saves speed and are not created every single time:
Code:
    new data = get_pcvar_num(cvar_log_type_data)     new console = get_pcvar_num(cvar_log_console)     new chat = get_pcvar_num(cvar_log_info_chat)     new separate = get_pcvar_num(cvar_log_separate_by_flag)
------->>
Code:
    static data, console, chat, separate;     data  = get_pcvar_num(cvar_log_type_data)     console = get_pcvar_num(cvar_log_console)     chat = get_pcvar_num(cvar_log_info_chat)     separate = get_pcvar_num(cvar_log_separate_by_flag)

And the plugin is also good for catching spammers in your server
__________________

My Plugins For ZP

Inactive due to College and Studies

Last edited by abdul-rehman; 09-06-2010 at 13:14.
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman