Quantcast
Channel: SA-MP Forums - Filterscripts
Viewing all articles
Browse latest Browse all 595

[FilterScript] Hud Of Damage

$
0
0
Hud For Damage (Rpg,RP)
Recommended so that whenever it takes damage by firearms, that appears for 3 seconds!



PHP Code:

//Credits for C4DU//

// In OnPlayerConnect prefferably, we procced to create our textdraws:
Textdraw0 CreatePlayerTextDraw(playerid654.000000467.000000"_");
PlayerTextDrawBackgroundColor(playeridTextdraw00);
PlayerTextDrawFont(playeridTextdraw00);
PlayerTextDrawLetterSize(playeridTextdraw00.500000, -53.200000);
PlayerTextDrawColor(playeridTextdraw0, -1);
PlayerTextDrawSetOutline(playeridTextdraw00);
PlayerTextDrawSetProportional(playeridTextdraw01);
PlayerTextDrawSetShadow(playeridTextdraw01);
PlayerTextDrawUseBox(playeridTextdraw01);
PlayerTextDrawBoxColor(playeridTextdraw01711276117);
PlayerTextDrawTextSize(playeridTextdraw0, -10.00000061.000000);
PlayerTextDrawSetSelectable(playeridTextdraw00);

Textdraw1 CreatePlayerTextDraw(playerid530.00000010.000000"particle:bloodpool_64");
PlayerTextDrawBackgroundColor(playeridTextdraw10);
PlayerTextDrawFont(playeridTextdraw14);
PlayerTextDrawLetterSize(playeridTextdraw10.5000001.000000);
PlayerTextDrawColor(playeridTextdraw1, -1);
PlayerTextDrawSetOutline(playeridTextdraw10);
PlayerTextDrawSetProportional(playeridTextdraw11);
PlayerTextDrawSetShadow(playeridTextdraw11);
PlayerTextDrawUseBox(playeridTextdraw11);
PlayerTextDrawBoxColor(playeridTextdraw1255);
PlayerTextDrawTextSize(playeridTextdraw192.000000101.000000);
PlayerTextDrawSetSelectable(playeridTextdraw10);

Textdraw2 CreatePlayerTextDraw(playerid59.000000206.000000"particle:bloodpool_64");
PlayerTextDrawBackgroundColor(playeridTextdraw20);
PlayerTextDrawFont(playeridTextdraw24);
PlayerTextDrawLetterSize(playeridTextdraw20.8000000.099999);
PlayerTextDrawColor(playeridTextdraw2, -1);
PlayerTextDrawSetOutline(playeridTextdraw20);
PlayerTextDrawSetProportional(playeridTextdraw21);
PlayerTextDrawSetShadow(playeridTextdraw21);
PlayerTextDrawUseBox(playeridTextdraw21);
PlayerTextDrawBoxColor(playeridTextdraw2255);
PlayerTextDrawTextSize(playeridTextdraw2211.000000185.000000);
PlayerTextDrawSetSelectable(playeridTextdraw20);

Textdraw3 CreatePlayerTextDraw(playerid623.000000236.000000"_");
PlayerTextDrawBackgroundColor(playeridTextdraw30);
PlayerTextDrawFont(playeridTextdraw30);
PlayerTextDrawLetterSize(playeridTextdraw30.50000014.000000);
PlayerTextDrawColor(playeridTextdraw3, -1);
PlayerTextDrawSetOutline(playeridTextdraw30);
PlayerTextDrawSetProportional(playeridTextdraw31);
PlayerTextDrawSetShadow(playeridTextdraw31);
PlayerTextDrawUseBox(playeridTextdraw31);
PlayerTextDrawBoxColor(playeridTextdraw31717986969);
PlayerTextDrawTextSize(playeridTextdraw3381.00000086.000000);
PlayerTextDrawSetSelectable(playeridTextdraw30);

Textdraw4 CreatePlayerTextDraw(playerid473.000000263.000000"_");
PlayerTextDrawBackgroundColor(playeridTextdraw40);
PlayerTextDrawFont(playeridTextdraw40);
PlayerTextDrawLetterSize(playeridTextdraw40.3000008.000000);
PlayerTextDrawColor(playeridTextdraw4, -1);
PlayerTextDrawSetOutline(playeridTextdraw40);
PlayerTextDrawSetProportional(playeridTextdraw41);
PlayerTextDrawSetShadow(playeridTextdraw41);
PlayerTextDrawUseBox(playeridTextdraw41);
PlayerTextDrawBoxColor(playeridTextdraw4153);
PlayerTextDrawTextSize(playeridTextdraw4391.00000086.000000);
PlayerTextDrawSetSelectable(playeridTextdraw40);

Textdraw5 CreatePlayerTextDraw(playerid616.000000263.000000"_");
PlayerTextDrawBackgroundColor(playeridTextdraw50);
PlayerTextDrawFont(playeridTextdraw50);
PlayerTextDrawLetterSize(playeridTextdraw50.3000008.000000);
PlayerTextDrawColor(playeridTextdraw5, -1);
PlayerTextDrawSetOutline(playeridTextdraw50);
PlayerTextDrawSetProportional(playeridTextdraw51);
PlayerTextDrawSetShadow(playeridTextdraw51);
PlayerTextDrawUseBox(playeridTextdraw51);
PlayerTextDrawBoxColor(playeridTextdraw5153);
PlayerTextDrawTextSize(playeridTextdraw5391.00000086.000000);
PlayerTextDrawSetSelectable(playeridTextdraw50);

Textdraw6 CreatePlayerTextDraw(playerid475.000000263.000000"_");
PlayerTextDrawBackgroundColor(playeridTextdraw6255);
PlayerTextDrawFont(playeridTextdraw61);
PlayerTextDrawLetterSize(playeridTextdraw60.1500007.999996);
PlayerTextDrawColor(playeridTextdraw6, -1);
PlayerTextDrawSetOutline(playeridTextdraw60);
PlayerTextDrawSetProportional(playeridTextdraw61);
PlayerTextDrawSetShadow(playeridTextdraw61);
PlayerTextDrawUseBox(playeridTextdraw61);
PlayerTextDrawBoxColor(playeridTextdraw6, -1);
PlayerTextDrawTextSize(playeridTextdraw6468.000000133.000000);
PlayerTextDrawSetSelectable(playeridTextdraw60);

Textdraw7 CreatePlayerTextDraw(playerid477.000000265.000000"Damage suffered");
PlayerTextDrawBackgroundColor(playeridTextdraw7255);
PlayerTextDrawFont(playeridTextdraw73);
PlayerTextDrawLetterSize(playeridTextdraw70.4699981.399999);
PlayerTextDrawColor(playeridTextdraw7, -1);
PlayerTextDrawSetOutline(playeridTextdraw70);
PlayerTextDrawSetProportional(playeridTextdraw71);
PlayerTextDrawSetShadow(playeridTextdraw71);
PlayerTextDrawSetSelectable(playeridTextdraw70);

Textdraw8 CreatePlayerTextDraw(playerid398.000000264.000000"Weapon");
PlayerTextDrawBackgroundColor(playeridTextdraw8255);
PlayerTextDrawFont(playeridTextdraw83);
PlayerTextDrawLetterSize(playeridTextdraw80.5000001.500000);
PlayerTextDrawColor(playeridTextdraw8, -1);
PlayerTextDrawSetOutline(playeridTextdraw80);
PlayerTextDrawSetProportional(playeridTextdraw81);
PlayerTextDrawSetShadow(playeridTextdraw81);
PlayerTextDrawSetSelectable(playeridTextdraw80);

Textdraw9 CreatePlayerTextDraw(playerid503.000000278.000000"X 100");
PlayerTextDrawBackgroundColor(playeridTextdraw9255);
PlayerTextDrawFont(playeridTextdraw93);
PlayerTextDrawLetterSize(playeridTextdraw90.8999996.000000);
PlayerTextDrawColor(playeridTextdraw9255);
PlayerTextDrawSetOutline(playeridTextdraw90);
PlayerTextDrawSetProportional(playeridTextdraw91);
PlayerTextDrawSetShadow(playeridTextdraw91);
PlayerTextDrawSetSelectable(playeridTextdraw90);

Textdraw10 CreatePlayerTextDraw(playerid501.000000278.000000"X 100");
PlayerTextDrawBackgroundColor(playeridTextdraw10255);
PlayerTextDrawFont(playeridTextdraw103);
PlayerTextDrawLetterSize(playeridTextdraw100.8999996.000000);
PlayerTextDrawColor(playeridTextdraw10, -1728052993);
PlayerTextDrawSetOutline(playeridTextdraw100);
PlayerTextDrawSetProportional(playeridTextdraw101);
PlayerTextDrawSetShadow(playeridTextdraw101);
PlayerTextDrawSetSelectable(playeridTextdraw100);

Textdraw11 CreatePlayerTextDraw(playerid490.000000284.000000"(  )");
PlayerTextDrawBackgroundColor(playeridTextdraw11255);
PlayerTextDrawFont(playeridTextdraw113);
PlayerTextDrawLetterSize(playeridTextdraw110.6999995.000000);
PlayerTextDrawColor(playeridTextdraw11255);
PlayerTextDrawSetOutline(playeridTextdraw110);
PlayerTextDrawSetProportional(playeridTextdraw111);
PlayerTextDrawSetShadow(playeridTextdraw111);
PlayerTextDrawSetSelectable(playeridTextdraw110);

Textdraw12 CreatePlayerTextDraw(playerid488.000000284.000000"(  )");
PlayerTextDrawBackgroundColor(playeridTextdraw12255);
PlayerTextDrawFont(playeridTextdraw123);
PlayerTextDrawLetterSize(playeridTextdraw120.6999995.000000);
PlayerTextDrawColor(playeridTextdraw12, -1);
PlayerTextDrawSetOutline(playeridTextdraw120);
PlayerTextDrawSetProportional(playeridTextdraw121);
PlayerTextDrawSetShadow(playeridTextdraw121);
PlayerTextDrawSetSelectable(playeridTextdraw120);

Textdraw13 CreatePlayerTextDraw(playerid250.00000010.000000"hud:first");
PlayerTextDrawBackgroundColor(playeridTextdraw130);
PlayerTextDrawFont(playeridTextdraw134);
PlayerTextDrawLetterSize(playeridTextdraw130.5000001.000000);
PlayerTextDrawColor(playeridTextdraw13, -1);
PlayerTextDrawSetOutline(playeridTextdraw130);
PlayerTextDrawSetProportional(playeridTextdraw131);
PlayerTextDrawSetShadow(playeridTextdraw131);
PlayerTextDrawUseBox(playeridTextdraw131);
PlayerTextDrawBoxColor(playeridTextdraw13255);
PlayerTextDrawTextSize(playeridTextdraw1330.00000030.000000);
PlayerTextDrawSetSelectable(playeridTextdraw130);

Textdraw14 CreatePlayerTextDraw(playerid413.000000287.000000"hud:radar_ammugun");
PlayerTextDrawBackgroundColor(playeridTextdraw140);
PlayerTextDrawFont(playeridTextdraw144);
PlayerTextDrawLetterSize(playeridTextdraw140.8300001.000000);
PlayerTextDrawColor(playeridTextdraw14, -1);
PlayerTextDrawSetOutline(playeridTextdraw140);
PlayerTextDrawSetProportional(playeridTextdraw141);
PlayerTextDrawSetShadow(playeridTextdraw141);
PlayerTextDrawUseBox(playeridTextdraw141);
PlayerTextDrawBoxColor(playeridTextdraw14255);
PlayerTextDrawTextSize(playeridTextdraw1440.00000030.000000);
PlayerTextDrawSetSelectable(playeridTextdraw140);

// You can now use PlayerTextDrawShow, PlayerTextDrawHide and
// PlayerTextDrawDestroy functions to show, hide, and destroy the textdraw. 

Pastebin:http://pastebin.com/Yw5sPf08

Viewing all articles
Browse latest Browse all 595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>