OnPlayerTakeDamge
#2

You're getting the name of the victim.

GameTextForPlayer uses the playerid.


E.G: Revo(1)[issuer] shoots Zombie(2)[victim], the gametextforplayer syntax would be
pawn Код:
GameTextForPlayer(playerid, "You took damage", 5000, 3);
Issuerid is the one shooting you, and seeing as you want to display it for the victim, playerid is exactly what you need.
Reply


Messages In This Thread
OnPlayerTakeDamge - by [D]ry[D]esert - 09.05.2012, 17:40
Re: OnPlayerTakeDamge - by Revo - 09.05.2012, 17:46
Re: OnPlayerTakeDamge - by ViniBorn - 09.05.2012, 17:47
Re: OnPlayerTakeDamge - by rati555 - 09.05.2012, 17:48
Re: OnPlayerTakeDamge - by HDFord - 09.05.2012, 17:48
Re: OnPlayerTakeDamge - by ViniBorn - 09.05.2012, 17:51
Re: OnPlayerTakeDamge - by HDFord - 09.05.2012, 17:53
Re: OnPlayerTakeDamge - by [D]ry[D]esert - 09.05.2012, 17:54
Re: OnPlayerTakeDamge - by [D]ry[D]esert - 09.05.2012, 17:56

Forum Jump:


Users browsing this thread: 1 Guest(s)