Raised This Month: $51 Target: $400
 12% 

ClientCommand equivalent for server?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Misery
Senior Member
Join Date: Dec 2010
Old 02-04-2014 , 23:28   ClientCommand equivalent for server?
Reply With Quote #1

Hi,

It is easy in a module to catch ClientCommand using metamod bease hooks.
But what about the commands issued by the server operator?

I would like to be able to ***differentiate*** between a command that has been type Inside the server console (by the server operator) and a command issued by a player playing on the server (by a foreign computer).

I can catch the latter easily. But what about server commands?

Thanks!

Misery
Misery is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 02-07-2014 , 05:10   Re: ClientCommand equivalent for server?
Reply With Quote #2

RegSrvCmd. Search more. http://hg.alliedmods.net/amxmodx-central files -> amxmodx -> meta_api.cpp
__________________

Last edited by claudiuhks; 02-07-2014 at 05:11.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode