Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

OnPlayerDeath big problem

$
0
0
Hello, i have a problem with OnPlayerDeath, when a player is stand by in some vw / interior different then killerid for example, when they are meet for ex, and the playerid is AFK and killerid try to kill him, when playerid die, OnPlayerDeath is not called for playerid (happend when playerid is AFK). I don't know why.

And i have a code that prevent that for happening

Something like this in OnPlayerGiveDamage https://pastebin.com/2Aznm7EB

But when this bug its not happend, the OnPlayerDeath is called twice, and i don't know how to prevent this for happening..

Can someone help me?

A short video here (sorry for lang. in video): https://www.youtube.com/watch?v=LkDXAIyCaRk

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>