Raised This Month: $ Target: $400
 0% 

Need help with client_cmd function


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
goshia
Junior Member
Join Date: Apr 2009
Old 05-23-2009 , 11:56   Need help with client_cmd function
Reply With Quote #1

Hello, I'm trying to make a very small plugin, which will set players T button to it's default function

I know it should be like this:

client_cmd
(id, "bind ^"t^" ^"+impulse201^"") but I don't know what to insert before that.

could you help me? Thx in advance
goshia is offline
Old 05-23-2009, 11:58
crazyeffect
This message has been deleted by crazyeffect. Reason: ohh, ohh
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-23-2009 , 12:14   Re: Need help with client_cmd function
Reply With Quote #3

PHP Code:
#include <amxmodx>
 
public plugin_init()
{
      
register_plugin("plugin name""version""author")
}
 
public 
client_connect(id)
{
      
client_cmd(id"bind t ^"impulse 201^"")

it's "impulse 201" for spray logo, not "+impulse201"

also, why would you force players to have T bound to that ?
__________________
Hunter-Digital is offline
goshia
Junior Member
Join Date: Apr 2009
Old 05-23-2009 , 12:25   Re: Need help with client_cmd function
Reply With Quote #4

Hunter-Digital

Thank you very much, it worked

Quote:
also, why would you force players to have T bound to that ?
about that, (s)lowhacking is very popular in my country and I don't want players flooded server with IP advertisments.

once again, thank you
goshia is offline
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 01:36.


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