AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Binding (https://forums.alliedmods.net/showthread.php?t=240624)

Baws 05-18-2014 23:13

Binding
 
How to make a command to be a bind?
Example: bind x thecommand

swapped 05-19-2014 02:27

Re: Binding
 
hah classic.

Code:
#include < amxmodx > public plugin_init( ) {     register_clcmd( "+test", "pTest" ); } public pTest( id ) {     client_print( id, print_center, "TEST !!!!!!" ); }

Code:

bind mouse2 +test

YamiKaitou 05-19-2014 06:43

Re: Binding
 
Any command that you create can be bound, there is nothing special that you have to do

Baws 05-19-2014 11:37

Re: Binding
 
Okay. Thanks!


All times are GMT -4. The time now is 09:45.

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