PDA

View Full Version : lock some commands, possible?


Salamon
04-28-2008, 12:20
im thinking about commands, someone of them i can lock by registering them, and locking by public function, but not all, like "invnext" "invprev" or all "slotx" commands

and my question is:
if i can somehow lock them like rest of normal commands ?

Sn!ff3r
04-28-2008, 13:22
but not all, like "invnext" "invprev" or all "slotx" commands You cant block these commands, because there are client side commands, not server.

atomen
04-28-2008, 17:48
You cant block these commands, because there are client side commands, not server.
But there is sent some info to the server when the user is switching weapon for example. So shouldn't you be able to block it ?

Salamon
04-28-2008, 18:02
yea i know how now :D, you can roll them, but not click them :> (register a command 'register_clcmd("weapon_xx(ex.knife)", "public") :> )