SA-MP Forums Archive
Help With TextDraws (Show one whene player Die) - 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: Help With TextDraws (Show one whene player Die) (/showthread.php?tid=288881)



Help With TextDraws (Show one whene player Die) - ServerScripter - 09.10.2011

Hi , i Have a Text Draw , so i want to show it to a player whene he die ,and removing it after showing it
I Found in TextDraw Editor (we can not do that , only if the player kill an other one not Killed)
Thanks For Helping


Re: Help With TextDraws (Show one whene player Die) - Michael@Belgium - 09.10.2011

TextdrawShowForPlayer(playerid, textdrawid); i think ...


Re: Help With TextDraws (Show one whene player Die) - Stigg - 09.10.2011

https://sampwiki.blast.hk/wiki/OnPlayerDeath
https://sampwiki.blast.hk/wiki/OnPlayerRequestSpawn
https://sampwiki.blast.hk/wiki/TextDrawShowForPlayer
https://sampwiki.blast.hk/wiki/TextDrawHideForPlayer


Re: Help With TextDraws (Show one whene player Die) - aRoach - 09.10.2011

You can do it with GameTextForPlayer :
pawn Код:
GameTextForPlayer(playerid,"~w~You died !",6000,2);



Re: Help With TextDraws (Show one whene player Die) - Stefans94 - 09.10.2011

on player death: TextDrawShowForPlayer
On player request spawn or player spawn TextDrawHideForPlayer