Author Topic: Enviromental damage is considered being attacked  (Read 1020 times)

0 Members and 1 Guest are viewing this topic.

Offline Markski

  • Busta
  • *
  • Posts: 11
  • Country: ar
  • Respect: +1/-0
  • Gender: Male
  • Alhamdulillah
    • View Profile
  • MCNR name: Markski
  • Discord name: markski.ar
Enviromental damage is considered being attacked
« on: August 16, 2022, 07:27:39 am »
Ver: 1.11.14 R2
Build: 30f02a3

Certain things, like missions, won't allow you to do them for a bit if you're in combat. However, it seems to consider enviromental damage, such as falling, to have been attacked recently and thus in combat.

I have a feeling that this is unintended and it should instead only be checking for damage that was explicitly caused by another player.
Played SA-MP for longer than I care to admit. Previously developer of now-defunct SACNR.

Personal website - https://markski.ar
SAMonitor - https://sam.markski.ar

Offline Mike

  • Server Owner
  • *
  • Posts: 3753
  • Country: gb
  • Respect: +417/-71
  • Gender: Male
    • View Profile
  • MCNR name: Mike
  • Discord name: mp2
Re: Enviromental damage is considered being attacked
« Reply #1 on: August 16, 2022, 02:38:04 pm »
Yes, this annoys me, I'll fix it.
View trailers here.


Offline Astro

  • Original Gangster
  • *
  • Posts: 593
  • Country: mk
  • Respect: +27/-29
  • Gender: Male
  • Шутер сум во скуадот бејби викај ме Бекам!!
    • View Profile
  • MCNR name: Astronaut
  • Discord name: Panter#8103
Re: Enviromental damage is considered being attacked
« Reply #2 on: August 16, 2022, 06:12:39 pm »
Yes, this annoys me, I'll fix it.
Doesnt this include damage done by vehicle collision?

Offline Markski

  • Busta
  • *
  • Posts: 11
  • Country: ar
  • Respect: +1/-0
  • Gender: Male
  • Alhamdulillah
    • View Profile
  • MCNR name: Markski
  • Discord name: markski.ar
Re: Enviromental damage is considered being attacked
« Reply #3 on: August 17, 2022, 04:51:47 am »
Doesnt this include damage done by vehicle collision?

Been a long time but IIRC vehicle collision damage includes a damager id, just like gun damage would
Played SA-MP for longer than I care to admit. Previously developer of now-defunct SACNR.

Personal website - https://markski.ar
SAMonitor - https://sam.markski.ar

Offline Mike

  • Server Owner
  • *
  • Posts: 3753
  • Country: gb
  • Respect: +417/-71
  • Gender: Male
    • View Profile
  • MCNR name: Mike
  • Discord name: mp2
Re: Enviromental damage is considered being attacked
« Reply #4 on: September 04, 2022, 02:37:12 pm »
Fixed next update.
View trailers here.