AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   i can't use register_clcmd("buy", "XXX") (https://forums.alliedmods.net/showthread.php?t=126245)

fot 05-07-2010 10:53

i can't use register_clcmd("buy", "XXX")
 
i can't use register_clcmd("buy", "XXX")

but can use register_clcmd("chooseteam", "XXX")

can help me?
:oops:

fezh 05-07-2010 11:12

Re: i can't use register_clcmd("buy", "XXX")
 
You can't hook "buy" command, and what does it have to do with "chooseteam"? O.o

ConnorMcLeod 05-07-2010 11:42

Re: i can't use register_clcmd("buy", "XXX")
 
AFAIK "buy" command is hookable.

fysiks 05-07-2010 17:48

Re: i can't use register_clcmd("buy", "XXX")
 
Quote:

Originally Posted by fezh (Post 1173403)
You can't hook "buy" command, and what does it have to do with "chooseteam"? O.o

He was just saying that "chooseteam" is a console command and he can hook it but "buy" is also a console command so he should be able to hook that too.

YamiKaitou 05-07-2010 18:48

Re: i can't use register_clcmd("buy", "XXX")
 
Quote:

Originally Posted by fysiks (Post 1173741)
He was just saying that "chooseteam" is a console command and he can hook it but "buy" is also a console command so he should be able to hook that too.

Maybe the OP is thinking that the buy command and the VGUI menu are the same thing


All times are GMT -4. The time now is 03:41.

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