Raised This Month: $ Target: $400
 0% 

con/clcmd


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
AndraX2000
Member
Join Date: Mar 2006
Location: 39°57' N 83°14' W
Old 10-31-2006 , 10:20   Re: con/clcmd
Reply With Quote #4

I'll translate Nostrodamous for you:

There are exactly 2 consoles. The client console and the server console.

register_clcmd registers a command may be called from ONLY the client console.
register_svrcmd registers a command may be called from ONLY the server console.
register_concmd registers a command may be called from both the client console AND the server console.

An example of a command registered using register_clcmd is "amx_slapmenu." Typing this into the client console gives the client a menu. Typing it into the server console does not work.

An example of a command registered using register_concmd is "amx_slap." Typing this into the client console slaps a player. Typing it into the server also slaps a player. You can use it in both consoles.
AndraX2000 is offline
 



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 04:50.


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