[PROBLEM SOLVED]Problem catching pre pre think +commands
here is what I have so far
Code:
I am testing to see if I can block +attack... I have read other forums threads in here about this but haven't got it working yet ... I have looked up as much as I can and according to other topics posted this is supposed to work but its not. Can someone tell me what I am doing wrong I appreciate any help to actually get this working. My goal is to block +attack. The message shows up when I press the attack button, but I am still allowed to fire. I already looked at Restricting buttons if you need to reference to where I got my information. Edit: Ven solved the problem. Thank you Ven I appreciate it. |
Well first of all change:
Code:
Code:
|
ok now what? lol
|
u can do that? what is it?
Code:
|
Quote:
Edit: Check first post I updated the code. I tried doing what was said on another post and it simply does not work. Can someone finalize if it is in fact possible to block +attack and all the other commands or is it simply not possible. |
First of all - a common mistake is recognizing whether button blocked or not by player's animation/decals/etc. All that done on the client's side while on the server side only actual button state is altered. Your code will block "the bullets" but not the animation etc.
Also it's not a good idea to block player's entity from thinking neither it's necessary (at least in this case). |
| All times are GMT -4. The time now is 16:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.