[Bug?] Sniper bullets not firing - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Bug?] Sniper bullets not firing (
/showthread.php?tid=488687)
[Bug?] Sniper bullets not firing -
Admigo - 18.01.2014
Hello.
I noticed when i tested the OnPlayerWeaponShot callback when i was using a sniper at certain locations no bullets were fired.
This will cause that the OnPlayerWeaponShot will not be called.
I debugged the message and there was not showing a message when the bullet was not fired.(Makes sense offcourse)
[ame]http://www.youtube.com/watch?v=fiVVaNIIdV0[/ame]
Admigo.
Re: [Bug?] Sniper bullets not firing -
Swisher - 18.01.2014
This happen on my server too... I thought it was because of a new headshot filterscript though,,
AW: [Bug?] Sniper bullets not firing -
BloodyEric - 18.01.2014
Sniper bullets dont count as actual "bullets" within the game engine, in contrast to AK/MP5/TEC9/PISTOL bullets.
So its pretty normal that the callback isnt called.
Respuesta: AW: [Bug?] Sniper bullets not firing -
MugiwaraNoLuffy - 18.01.2014
Quote:
Originally Posted by BloodyEric
Sniper bullets dont count as actual "bullets" within the game engine, in contrast to AK/MP5/TEC9/PISTOL bullets.
So its pretty normal that the callback isnt called.
|
Sniper bullets count as bullets.
Re: AW: [Bug?] Sniper bullets not firing -
Admigo - 18.01.2014
Quote:
Originally Posted by BloodyEric
Sniper bullets dont count as actual "bullets" within the game engine, in contrast to AK/MP5/TEC9/PISTOL bullets.
So its pretty normal that the callback isnt called.
|
Yep it does. When i fired the bullets it was called.
Only when no bullets were fired it was not called.
Re: [Bug?] Sniper bullets not firing -
d0 - 18.01.2014
Confirmed. It only seems to be broken if you are close to the GTA map edges.
Re: [Bug?] Sniper bullets not firing -
0x00405A00 - 19.01.2014
The callback named onplayerweaponshot and i mean that a sniper is also a weapon like deagle or mp5 and so on ... my thread about a bug in 0.3z rc2 with the rocket launcher was closed with the reason that a rocket launcher doesnt fire bullets but its also a weapon like deagle or mp5 and so on ...