09.05.2012, 17:46
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
Issuerid is the one shooting you, and seeing as you want to display it for the victim, playerid is exactly what you need.
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);