SA-MP Forums Archive
Player text on dead - 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: Player text on dead (/showthread.php?tid=410631)



Player text on dead - SonOussi - 26.01.2013

hey evryone ,
can someon help me . i want a text pop up when player is dead like <You are Dead>
Thank you


Re: Player text on dead - SonOussi - 26.01.2013

no one knows how ??


Re: Player text on dead - IgrexolonO - 26.01.2013

https://sampwiki.blast.hk/wiki/GameTextForPlayer + https://sampwiki.blast.hk/wiki/OnPlayerDeath

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
GameTextForPlayer(playerid, "<You are Dead>", 3000, 1);
return 1;
}



Re: Player text on dead - Jewell - 26.01.2013

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SetPlayerChatBubble(playerid, "I'm dead xD", 0x44BBA4C8, 100.0, 2000);
return 1;
}