HS only script
ok so basicly its working. but i would like to be able to take it off some how.
right now thats the code i have for the HS only script Code:
i would like to know how to make commands like amx_hsonly 1= on 0= off |
all you would have to do is set another command to let all the hitzones be shot...its not that hard, but i dont know the hitzones...
|
Code:
This uses the cmd_access function from the amxmisc include to make sure the person calling the function really has access to it. The last parameter is the number of arguments the function has plus one. Since we only want one argument, on or off, we take that and add one to get two. It then uses the read_argv function to read the first argument (that's the first parameter, 1) into the arg variable. Then we check to see if it is more then one and turn it on, otherwise we turn it off. |
set_user_hitzones is broken AFAIK
|
So if i type ma_hsonly 1 in console it will enable it? and if i type ma_hsonly 0 it will disable it?
Code:
|
Try it.
|
| All times are GMT -4. The time now is 23:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.