SA-MP Forums Archive
Display 'Wasted' Text On Player Death - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Display 'Wasted' Text On Player Death (/showthread.php?tid=67450)



Display 'Wasted' Text On Player Death - Alec24 - 01.03.2009

I would like a message saying wasted if the player dies but where do i put:

Код:
GameTextForPlayer(playerid, "WASTED!",5000,5);  \
I cant find something like:
Код:
Public OnPlayerDeath(playerid)
{
	return 1;
}



Re: Display 'Wasted' Text On Player Death - Yaheli_Faro - 01.03.2009

pawn Код:
public OnPlayerDeath(playerid, killerid)
{
  GameTextForPlayer(playerid, "WASTED!", 5000, 5);
  return 1;
}