How can I check if is user executing a command?
For example i register:
PHP Code:
////globabl
new blabled[33]
////init
register_clcmd("blablabla", "omgrotfl")
And then I bind '+blablabla' for 'v' button.
Now I want to check if v is pressed (is blablabla executing) and if it is then switch blabled[id] = 1, or if it is not then turn blabled[id] = 0.
So if user is holding V then 'blabled[id] = 1', if he releases v his 'blabled[id] = 0'.
How can I do that? V is just an example, I want to check is 'blablabla' working in current moment.