Check if a player is behind a player
#2

https://sampwiki.blast.hk/wiki/Stocks

Sorry, not doing all the work for you, but work with OnPlayerDeath; check out GetXYInFrontOfPlayer and set the distance to -1, then check if killerid is InRangeOf that Point. Also, make sure that reason == 4 and (not necessary) that GetPlayerWeapon of killerid is 4.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)