View Full Version : Some bugs with the shooting

29/01/2014, 02:46 AM
Infinite weapon range after being in a vehicle
If a player has been in any vehicle with more than 2 wheels (or no wheels), he can be shot at from any distance. The only way to reset this is by either destroying the vehicle or entering a 2-wheel vehicle.

To reproduce:

Give someone a spas and go far away, make sure they can't hit you
Spawn a sultan then leave the car
Have the other player shoot you
Spawn an NRG then leave the bike
Have the other player try shooting you again

This doesn't go both ways. You can get hit by the other player, but you cannot hit him.

Shooting through cars to get infinite range

Give yourself a spas and go far away from another player, make sure you can't hit him
Spawn a Sultan and go near it, then shoot through the windows right at the other player

Mixed up weapon ranges
When someone is aiming at you with a long-range weapon you can hit them with shotguns from the same distance. When they switched weapon you will no longer hit them, unless they switch back and aim again.

Give 1 player a spas, and give 1 player a rifle
Go away so the person with the rifle can see the green triangle when aiming, but the spas can not
Have the player with a rifle aim at the spas shooter - now the spas can also hit the rifler

29/01/2014, 08:58 AM
Partially confirmed. After some testing I was able to reproduce the first and the second bug. I've been unable to reproduce the third bug.

29/01/2014, 09:11 AM
confirmed..... 1st and 2nd only

29/01/2014, 09:32 AM
yep confirmed for sure.

29/01/2014, 11:05 AM

these aren't 0.3z related and have been around for a while (so don't go checking 3z sync stuff)

though all of them can be fixed by using OnPlayerWeaponShot now, it would be better if it was fixed in SA-MP itself. (to be compatible with all old and future scripts - especially for people who aren't aware of them)

31/01/2014, 02:31 PM
Confirmed. Love those bugs tho, especially carbug <3 And as Tiger said, this ain't just 0.3z related ^^