You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Fix Night Vision & Thermal Goggles visual effect show for all streamed players.
if ((player.armedWeapon_ == PlayerWeapon_Night_Vis_Goggles || player.armedWeapon_ == PlayerWeapon_Thermal_Goggles))
{
footSync.Keys &= ~Key::FIRE;
}
while this could be added in both driver (incar) and passenger types as well.
This can sound weird for normal people to use these weapons inside of a car, but probably possible with cheats.
The text was updated successfully, but these errors were encountered:
Finally had time to test it with a clientside script just to prove this theory and seems like it isn't an issue for the game. Any such manipulations like trying to send KEY_FIRE (or even any other which could be imagined for in-car shooting use) with a holding weapon 44 or 45 make completely nothing for other players if the attacker is in vehicle :/
Anyway it's good that it doesn't need to have extended fix for other sync types too.
This piece of code is only applied to onfoot synchronization:
open.mp/Server/Source/player_pool.hpp
Lines 743 to 747 in 62e3415
while this could be added in both driver (incar) and passenger types as well.
This can sound weird for normal people to use these weapons inside of a car, but probably possible with cheats.
The text was updated successfully, but these errors were encountered: