SA-MP Forums Archive
Sniper, fist and satchels doesn't damage.. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Sniper, fist and satchels doesn't damage.. (/showthread.php?tid=222902)



Sniper, fist and satchels doesn't damage.. - rbN. - 08.02.2011

Like the title says, if you shoot with a sniper, or fist, or plant satchels and let them explode, the enemy doesn't lose health.

Though, a sniper does take damage with, how I call it,: quick-scoping. Meaning, if you press right mouse click, and press left mouse click, and release right mouse click before it shoots, it does take damage.

How to fix?


Re: Sniper, fist and satchels doesn't damage.. - rbN. - 09.02.2011

Bemp


Re: Sniper, fist and satchels doesn't damage.. - Kwarde - 09.02.2011

About the sniper and fists: I don't know. Are you using any script that uses weapon damage or something else, like OnPlayerShootPlayer?
By the way I have this sometimes too with other weapons.
About satchel charge: That's not synced. Only synced if the player is near. If you place a charge and then a player comes, he won't see it. Just like the RPG Heatseeker, not synced too. About the satchel charge: Make a random script. When you have the satchel charge and when you press LMB, get the player pos and save a pos where the player is, +5 ('cuz he throws it away). When you have the detonator in your hand and when you press LMB, get the saved pos and create there an explosion. Then everyone'll be able to see it!


Re: Sniper, fist and satchels doesn't damage.. - On_Top_Non_Stop - 09.02.2011

I made a death match above sea with custom objects and quickly noticed snipers don't work.

So are you sniping from game or custom objects?


Re: Sniper, fist and satchels doesn't damage.. - rbN. - 09.02.2011

Custom objects, above sea indeed..

@Kwarde, even if you detonate a satchel in front of somebody, or 'plant' one and detonate, he doesn't get damage. And, I'm not using something like SetPlayerHealth for damage lol


Re: Sniper, fist and satchels doesn't damage.. - _Tommy - 09.02.2011

The satchel charges would work only if you detonate it twice. For example, if you would detonate it with the detonator weapon, noone will see the explosion beside you. You will have to detonate it again(after givving the detonator the player again), and then the streamed in players will see the explosion aswell, but you won't see a thing.


Re: Sniper, fist and satchels doesn't damage.. - Sasino97 - 09.02.2011

too laggy server


Re: Sniper, fist and satchels doesn't damage.. - admantis - 09.02.2011

Fists and sniper dont do damage if the custom maps are above sea, idk why.
Satchels are SA-MP desync.


Re: Sniper, fist and satchels doesn't damage.. - rbN. - 09.02.2011

Thats pretty lame if it doesn't work :/


Re: Sniper, fist and satchels doesn't damage.. - [L3th4l] - 09.02.2011

It works for my mapped city above sea. Are you sure the player's aren't desynced?