Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- new Text:GTAV_DeathTD[4];
- public OnFilterScriptInit()
- {
- GTAV_DeathTD[0] = TextDrawCreate(-117.333343, -119.192596, "ld_spac:black");
- TextDrawLetterSize(GTAV_DeathTD[0], 0.000000, 0.000000);
- TextDrawTextSize(GTAV_DeathTD[0], 914.333129, 783.984985);
- TextDrawAlignment(GTAV_DeathTD[0], 1);
- TextDrawColor(GTAV_DeathTD[0], -186);
- TextDrawSetShadow(GTAV_DeathTD[0], 0);
- TextDrawSetOutline(GTAV_DeathTD[0], 0);
- TextDrawBackgroundColor(GTAV_DeathTD[0], 255);
- TextDrawFont(GTAV_DeathTD[0], 4);
- TextDrawSetProportional(GTAV_DeathTD[0], 0);
- TextDrawSetShadow(GTAV_DeathTD[0], 0);
- GTAV_DeathTD[1] = TextDrawCreate(320.000000, 190.000000, "~r~Wasted");
- TextDrawLetterSize(GTAV_DeathTD[1], 0.730997, 3.043555);
- TextDrawAlignment(GTAV_DeathTD[1], 2);
- TextDrawColor(GTAV_DeathTD[1], -76);
- TextDrawSetShadow(GTAV_DeathTD[1], 0);
- TextDrawSetOutline(GTAV_DeathTD[1], 0);
- TextDrawBackgroundColor(GTAV_DeathTD[1], 255);
- TextDrawFont(GTAV_DeathTD[1], 3);
- TextDrawSetProportional(GTAV_DeathTD[1], 1);
- TextDrawSetShadow(GTAV_DeathTD[1], 0);
- GTAV_DeathTD[2] = TextDrawCreate(-17.666658, 165.300109, "");
- TextDrawLetterSize(GTAV_DeathTD[2], 0.000000, 0.000000);
- TextDrawTextSize(GTAV_DeathTD[2], 668.000061, 86.266624);
- TextDrawAlignment(GTAV_DeathTD[2], 1);
- TextDrawColor(GTAV_DeathTD[2], 140);
- TextDrawSetShadow(GTAV_DeathTD[2], 0);
- TextDrawSetOutline(GTAV_DeathTD[2], 0);
- TextDrawBackgroundColor(GTAV_DeathTD[2], 0);
- TextDrawFont(GTAV_DeathTD[2], 5);
- TextDrawSetProportional(GTAV_DeathTD[2], 0);
- TextDrawSetShadow(GTAV_DeathTD[2], 0);
- TextDrawSetPreviewModel(GTAV_DeathTD[2], 19454);
- TextDrawSetPreviewRot(GTAV_DeathTD[2], 0.000000, 0.000000, 70.000000, 0.375391);
- GTAV_DeathTD[3] = TextDrawCreate(320.000000, 215.100479, "~r~Rest In ~r~~h~Peace");
- TextDrawLetterSize(GTAV_DeathTD[3], 0.352331, 1.583407);
- TextDrawAlignment(GTAV_DeathTD[3], 2);
- TextDrawColor(GTAV_DeathTD[3], -2359116);
- TextDrawSetShadow(GTAV_DeathTD[3], 0);
- TextDrawSetOutline(GTAV_DeathTD[3], 0);
- TextDrawBackgroundColor(GTAV_DeathTD[3], 255);
- TextDrawFont(GTAV_DeathTD[3], 1);
- TextDrawSetProportional(GTAV_DeathTD[3], 1);
- TextDrawSetShadow(GTAV_DeathTD[3], 0);
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- for(new x = 0; x<4; x++)
- {
- TextDrawShowForPlayer(playerid, GTAV_DeathTD[x]);
- }
- SetTimerEx("HideDTD", 3500, false, "i", playerid);
- return 1;
- }
- forward HideDTD(playerid);
- public HideDTD(playerid)
- {
- for(new x = 0; x<4; x++)
- {
- TextDrawHideForPlayer(playerid, GTAV_DeathTD[x]);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement