SA-MP Forums Archive
Showing player damages above there head. - 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)
+--- Thread: Showing player damages above there head. (/showthread.php?tid=537020)



Showing player damages above there head. - Sparke - 13.09.2014

Alright, so I have a after-lift system within my RP gamemode. I was wondering how would I script something where once they die (And are in after-life) it displays above there head, how many Deagle, M4, etc. shots they have. Thanks in advance if you can help.


Re: Showing player damages above there head. - Abagail - 13.09.2014

You'd have to use OnPlayerTakeDamage and store the data you need in variables accordingly,
https://sampwiki.blast.hk/wiki/OnPlayerTakeDamage