[BUG] Weapons don't update as passenger
#1

If you are the passenger of a vehicle and switch weapons via SetPlayerArmedWeapon, GetPlayerWeapon will still return what the player entered the vehicle with.

Example:
Player enters passenger seat with Weapon ID 31 (M4)
Player switches weapon via SetPlayerArmedWeapon (/givegun, /switchweapon, etc) to Weapon ID 29 (MP5)
GetPlayerWeapon will return Weapon ID 31(M4) even though the player sees himself holding Weapon ID 29 (MP5)



EDIT
This has already been posted (I just realised)
Reply
#2

In fact, if you drive by, as passenger OR as driver, hold weapons and their ammo don't update at all.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)