Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* ///////////////////
- Created: 26/11/2015
- Author: UltraScripter
- ///////////////////
- ///////////////////
- */
- #if defined _Blood_Screen_included
- #endinput
- #define _Blood_Screen_Included
- #endif
- #define BLOOD_TYPE_1 1000
- #define BLOOD_TYPE_2 1001
- #define BLOOD_TYPE_3 1003
- #define BLOOD_TYPE_4 1004
- #define BLOOD_TYPE_5 1005
- #define BLOOD_TYPE_6 1006
- #define BLOOD_TYPE_7 1007
- #define BLOOD_TYPE_8 1008
- #define BLOOD_TYPE_9 1009
- /*
- native ShowPlayerBloodScreen(playerid, type);
- */
- new PlayerText:incBloodsc[11];
- stock ShowPlayerBloodScreen(playerid, type)
- {
- incBloodsc[0] = CreatePlayerTextDraw(playerid, 0.1, 0.1, "~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~_");
- PlayerTextDrawAlignment(playerid, incBloodsc[0], 2);
- PlayerTextDrawUseBox(playerid, incBloodsc[0], 1);
- if(type == BLOOD_TYPE_1)
- {
- PlayerTextDrawBoxColor(playerid, incBloodsc[0], 0xFF000011);
- }
- if(type == BLOOD_TYPE_2)
- {
- PlayerTextDrawBoxColor(playerid, incBloodsc[0], 0xFF000022);
- }
- if(type == BLOOD_TYPE_3)
- {
- PlayerTextDrawColor(playerid, incBloodsc[0], 0xFF000033);
- }
- if(type == BLOOD_TYPE_4)
- {
- PlayerTextDrawBoxColor(playerid, incBloodsc[0], 0xFF000044);
- }
- if(type == BLOOD_TYPE_5)
- {
- PlayerTextDrawColor(playerid, incBloodsc[0], 0xFF000055);
- }
- if(type == BLOOD_TYPE_6)
- {
- PlayerTextDrawBoxColor(playerid, incBloodsc[0], 0xFF000066);
- }
- if(type == BLOOD_TYPE_7)
- {
- PlayerTextDrawColor(playerid, incBloodsc[0], 0xFF000077);
- }
- if(type == BLOOD_TYPE_8)
- {
- PlayerTextDrawBoxColor(playerid, incBloodsc[0], 0xFF000088);
- }
- if(type == BLOOD_TYPE_9)
- {
- PlayerTextDrawBoxColor(playerid, incBloodsc[0], 0xFF000099);
- }
- PlayerTextDrawTextSize(playerid, incBloodsc[0], 5000.0, 5000.0);
- PlayerTextDrawShow(playerid, incBloodsc[0]);
- incBloodsc[1] = CreatePlayerTextDraw(playerid, 50.0, 320.0, "LD_POOL:ball");
- PlayerTextDrawFont(playerid, incBloodsc[1], 4);
- PlayerTextDrawUseBox(playerid, incBloodsc[1], 1);
- PlayerTextDrawTextSize(playerid, incBloodsc[1], 40.0, 40.0);
- PlayerTextDrawColor(playerid, incBloodsc[1], 0xCE0000FF);
- PlayerTextDrawShow(playerid, incBloodsc[1]);
- incBloodsc[2] = CreatePlayerTextDraw(playerid, 88.0, 340.0, "LD_POOL:ball");
- PlayerTextDrawFont(playerid, incBloodsc[2], 4);
- PlayerTextDrawUseBox(playerid, incBloodsc[2], 1);
- PlayerTextDrawTextSize(playerid, incBloodsc[2], 15.0, 15.0);
- PlayerTextDrawColor(playerid, incBloodsc[2], 0xCE0000FF);
- PlayerTextDrawShow(playerid, incBloodsc[2]);
- incBloodsc[3] = CreatePlayerTextDraw(playerid, 380.0, 10.0, "LD_POOL:ball");
- PlayerTextDrawFont(playerid, incBloodsc[3], 4);
- PlayerTextDrawUseBox(playerid, incBloodsc[3], 1);
- PlayerTextDrawTextSize(playerid, incBloodsc[3], 40.0, 40.0);
- PlayerTextDrawColor(playerid, incBloodsc[3], 0xCE0000FF);
- PlayerTextDrawShow(playerid, incBloodsc[3]);
- incBloodsc[4] = CreatePlayerTextDraw(playerid, 100.0, 20.0, "LD_POOL:ball");
- PlayerTextDrawFont(playerid, incBloodsc[4], 4);
- PlayerTextDrawUseBox(playerid, incBloodsc[4], 1);
- PlayerTextDrawTextSize(playerid, incBloodsc[4], 15.0, 15.0);
- PlayerTextDrawColor(playerid, incBloodsc[4], 0xCE0000FF);
- PlayerTextDrawShow(playerid, incBloodsc[4]);
- incBloodsc[5] = CreatePlayerTextDraw(playerid, 50.0, 240.0, "LD_POOL:ball");
- PlayerTextDrawFont(playerid, incBloodsc[5], 4);
- PlayerTextDrawUseBox(playerid, incBloodsc[5], 1);
- PlayerTextDrawTextSize(playerid, incBloodsc[5], 40.0, 40.0);
- PlayerTextDrawColor(playerid, incBloodsc[5], 0xCE0000FF);
- PlayerTextDrawShow(playerid, incBloodsc[5]);
- incBloodsc[6] = CreatePlayerTextDraw(playerid, 460.0, 280.0, "LD_POOL:ball");
- PlayerTextDrawFont(playerid, incBloodsc[6], 4);
- PlayerTextDrawUseBox(playerid, incBloodsc[6], 1);
- PlayerTextDrawTextSize(playerid, incBloodsc[6], 15.0, 15.0);
- PlayerTextDrawColor(playerid, incBloodsc[6], 0xCE0000FF);
- PlayerTextDrawShow(playerid, incBloodsc[6]);
- incBloodsc[7] = CreatePlayerTextDraw(playerid, 475.0, 25.0, "LD_POOL:ball");
- PlayerTextDrawFont(playerid, incBloodsc[7], 4);
- PlayerTextDrawUseBox(playerid, incBloodsc[7], 1);
- PlayerTextDrawTextSize(playerid, incBloodsc[7], 40.0, 40.0);
- PlayerTextDrawColor(playerid, incBloodsc[7], 0xCE0000FF);
- PlayerTextDrawShow(playerid, incBloodsc[7]);
- incBloodsc[8] = CreatePlayerTextDraw(playerid, 488.0, 475.0, "LD_POOL:ball");
- PlayerTextDrawFont(playerid, incBloodsc[8], 4);
- PlayerTextDrawUseBox(playerid, incBloodsc[8], 1);
- PlayerTextDrawTextSize(playerid, incBloodsc[8], 15.0, 15.0);
- PlayerTextDrawColor(playerid, incBloodsc[8], 0xCE0000FF);
- PlayerTextDrawShow(playerid, incBloodsc[8]);
- incBloodsc[9] = CreatePlayerTextDraw(playerid, 320.0, 470.0, "LD_POOL:ball");
- PlayerTextDrawFont(playerid, incBloodsc[9], 4);
- PlayerTextDrawUseBox(playerid, incBloodsc[9], 1);
- PlayerTextDrawTextSize(playerid, incBloodsc[9], 40.0, 40.0);
- PlayerTextDrawColor(playerid, incBloodsc[9], 0xCE0000FF);
- PlayerTextDrawShow(playerid, incBloodsc[9]);
- incBloodsc[10] = CreatePlayerTextDraw(playerid, 300.0, 470.0, "LD_POOL:ball");
- PlayerTextDrawFont(playerid, incBloodsc[10], 4);
- PlayerTextDrawUseBox(playerid, incBloodsc[10], 1);
- PlayerTextDrawTextSize(playerid, incBloodsc[10], 15.0, 15.0);
- PlayerTextDrawColor(playerid, incBloodsc[10], 0xCE0000FF);
- PlayerTextDrawShow(playerid, incBloodsc[10]);
- SetTimerEx("incccLowerBlood", 1000, false, "i", playerid);
- SetTimerEx("incccLowerBlood2", 1300, false, "i", playerid);
- SetTimerEx("incccLowerBlood3", 1700, false, "i", playerid);
- SetTimerEx("incccLowerBlood4", 2100, false, "i", playerid);
- SetTimerEx("incccLowerBlood5", 2500, false, "i", playerid);
- SetTimerEx("incccLowerBlood6", 4000, false, "i", playerid);
- return 1;
- }
- forward incccLowerBlood(playerid);
- public incccLowerBlood(playerid)
- {
- PlayerTextDrawDestroy(playerid, incBloodsc[4]);
- return 1;
- }
- forward incccLowerBlood2(playerid);
- public incccLowerBlood2(playerid)
- {
- PlayerTextDrawDestroy(playerid, incBloodsc[5]);
- PlayerTextDrawDestroy(playerid, incBloodsc[3]);
- return 1;
- }
- forward incccLowerBlood3(playerid);
- public incccLowerBlood3(playerid)
- {
- PlayerTextDrawDestroy(playerid, incBloodsc[2]);
- PlayerTextDrawDestroy(playerid, incBloodsc[1]);
- return 1;
- }
- forward incccLowerBlood4(playerid);
- public incccLowerBlood4(playerid)
- {
- PlayerTextDrawBoxColor(playerid, incBloodsc[0], 0xFF000055);
- PlayerTextDrawDestroy(playerid, incBloodsc[6]);
- PlayerTextDrawDestroy(playerid, incBloodsc[9]);
- return 1;
- }
- forward incccLowerBlood5(playerid);
- public incccLowerBlood5(playerid)
- {
- PlayerTextDrawDestroy(playerid, incBloodsc[7]);
- PlayerTextDrawDestroy(playerid, incBloodsc[8]);
- return 1;
- }
- forward incccLowerBlood6(playerid);
- public incccLowerBlood6(playerid)
- {
- PlayerTextDrawDestroy(playerid, incBloodsc[0]);
- return 1;
- }
- /* ///////////////////
- Created: 26/11/2015
- Author: UltraScripter
- ///////////////////
- ///////////////////
- */
Advertisement
Add Comment
Please, Sign In to add comment