How to get shooter name and weapon he used.
#1

Hey guys, I just wanna do that it will show people around with "Proxdectector" in OnDeathPlayer or whatever is the public calls, like this :


Thanks for the helpers, promising I will +rep to who will teach me it.
Reply
#2

https://sampwiki.blast.hk/wiki/OnPlayerWeaponShot
https://sampwiki.blast.hk/wiki/Format
https://sampwiki.blast.hk/wiki/GetWeaponName
https://sampwiki.blast.hk/wiki/GetPlayerName

That's about what you need.
Use BULLET_HIT_TYPE_PLAYER
and hitid will return injured players id.
Reply
#3

Quote:
Originally Posted by [WSF]ThA_Devil
Посмотреть сообщение
Thank you buddy, well apprcieate!
Reply
#4

Didn't got yet how to use it properly
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)