Raised This Month: $ Target: $400
 0% 

Helping with binding?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 02-08-2007 , 09:39   Re: Helping with binding?
Reply With Quote #5

Quote:
Originally Posted by Oskar View Post
Code:
#include <amxmodx>
public plugin_init()
{
      register_clcmd("SS1","cmd_ss1")
}

public cmd_ss1(id)
{
      client_cmd(id,"snapshot")
      client_cmd(id,"say SS-Taken")
}
Although this will only work when the client is in a server with this plugin.
Well I know I could have done that, but the point is to allow the user to do it while on other servers too :-\.
I can exec the alias through amx_exec, but not client_cmd...that is what gets me. Hmm...
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
 



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 00:34.


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