HaodongMo / ArcCW

57 stars 35 forks source link

Weapons fail to function correctly in vehicles with ply:SetAllowWeaponsInVehicle #134

Closed ghost closed 1 year ago

ghost commented 1 year ago

At the risk of being made of fun of for being a complete fucking idiot, I'd like to report what i think is an issue regarding how weapons function in vehicles.

When Player:SetAllowWeaponsInVehicle is set to true, weapons behave extremely erratically. In a local listen server, they fire super fast as shown in the video, do not deplete ammo, and do not deal any damage to entities (but still place hole decals on surfaces/npcs). I also tested it on a dedicated server, finding that weapons instead fire with intended behavior, but do not deplete ammo, fire in semi auto only (trying to fire full auto just makes the weapon jerk back and forth), and still do not deal any damage.

I used Seat Weaponizer II while testing, but slapping SetAllowWeaponsInVehicle into it's own autorun server lua did not change the issue's behavior. If I had to guess, this is likely a prediction issue.

video: https://a.slob.fans/2jRxc.mp4

ghost commented 1 year ago

i don't expect this to get fixed because who the hell wants to use weapons in a vehicle, but it's good to have it here for tracking purposes at the very least

ghost commented 1 year ago

seems to be working now, likely an invalid issue