night vision and thermo vission
#1

Are night and thermo vision still bugged in 3x?
Reply
#2

No they are not bugged you can go in-game and just test it instead of making a thread on the forums there are many servers you can test it on.
Reply
#3

Was the bug that if one person does it; it actually activates it for the whole server/a few people? Because that still happens.
Reply
#4

That can be fixed with some code under OnPlayerUpdate. Check if the person is pressing the fire key and if they're holding goggles. If so, return 0 to prevent the update from being synced.
Reply
#5

Quote:
Originally Posted by SuperViper
Посмотреть сообщение
That can be fixed with some code under OnPlayerUpdate. Check if the person is pressing the fire key and if they're holding goggles. If so, return 0 to prevent the update from being synced.
This is a very bad idea. You can hold the fire key and walk around de-synced, which is very abusable.
Reply
#6

Ok is that all?
Reply
#7

Yes.
Reply
#8

Quote:
Originally Posted by MP2
Посмотреть сообщение
This is a very bad idea. You can hold the fire key and walk around de-synced, which is very abusable.
By using a variable to check if he has pressed the button, you could prevent that.
Then just check if he presses it again, and reset the variable (or when the player changes weapons).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)