Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CistacTDShow(playerid, bool:show)
- {
- if(show == true)
- {
- CistacTD[playerid][0] = CreatePlayerTextDraw(playerid, 139.000000, 294.000000, "_");
- PlayerTextDrawBackgroundColor(playerid, CistacTD[playerid][0], 255);
- PlayerTextDrawFont(playerid, CistacTD[playerid][0], 1);
- PlayerTextDrawLetterSize(playerid, CistacTD[playerid][0], 0.500000, 3.799998);
- PlayerTextDrawColor(playerid, CistacTD[playerid][0], -1);
- PlayerTextDrawSetOutline(playerid, CistacTD[playerid][0], 0);
- PlayerTextDrawSetProportional(playerid, CistacTD[playerid][0], 1);
- PlayerTextDrawSetShadow(playerid, CistacTD[playerid][0], 1);
- PlayerTextDrawUseBox(playerid, CistacTD[playerid][0], 1);
- PlayerTextDrawBoxColor(playerid, CistacTD[playerid][0], 138);
- PlayerTextDrawTextSize(playerid, CistacTD[playerid][0], 35.000000, 2.000000);
- PlayerTextDrawSetSelectable(playerid, CistacTD[playerid][0], 0);
- CistacTD[playerid][1] = CreatePlayerTextDraw(playerid, 139.000000, 294.000000, "_");
- PlayerTextDrawBackgroundColor(playerid, CistacTD[playerid][1], 255);
- PlayerTextDrawFont(playerid, CistacTD[playerid][1], 1);
- PlayerTextDrawLetterSize(playerid, CistacTD[playerid][1], 0.500000, -0.300000);
- PlayerTextDrawColor(playerid, CistacTD[playerid][1], -1);
- PlayerTextDrawSetOutline(playerid, CistacTD[playerid][1], 0);
- PlayerTextDrawSetProportional(playerid, CistacTD[playerid][1], 1);
- PlayerTextDrawSetShadow(playerid, CistacTD[playerid][1], 1);
- PlayerTextDrawUseBox(playerid, CistacTD[playerid][1], 1);
- PlayerTextDrawBoxColor(playerid, CistacTD[playerid][1], 8454143);
- PlayerTextDrawTextSize(playerid, CistacTD[playerid][1], 35.000000, 2.000000);
- PlayerTextDrawSetSelectable(playerid, CistacTD[playerid][1], 0);
- CistacTD[playerid][2] = CreatePlayerTextDraw(playerid, 102.000000, 298.000000, "ld_beat:up");
- PlayerTextDrawBackgroundColor(playerid, CistacTD[playerid][2], 0);
- PlayerTextDrawFont(playerid, CistacTD[playerid][2], 5);
- PlayerTextDrawLetterSize(playerid, CistacTD[playerid][2], 0.500000, -0.400000);
- PlayerTextDrawColor(playerid, CistacTD[playerid][2], -1);
- PlayerTextDrawSetOutline(playerid, CistacTD[playerid][2], 0);
- PlayerTextDrawSetProportional(playerid, CistacTD[playerid][2], 1);
- PlayerTextDrawSetShadow(playerid, CistacTD[playerid][2], 1);
- PlayerTextDrawUseBox(playerid, CistacTD[playerid][2], 1);
- PlayerTextDrawBoxColor(playerid, CistacTD[playerid][2], 10);
- PlayerTextDrawTextSize(playerid, CistacTD[playerid][2], 55.000000, 53.000000);
- PlayerTextDrawSetPreviewModel(playerid, CistacTD[playerid][2], 574);
- PlayerTextDrawSetPreviewRot(playerid, CistacTD[playerid][2], -16.000000, 0.000000, -55.000000, 1.000000);
- PlayerTextDrawSetSelectable(playerid, CistacTD[playerid][2], 0);
- CistacTD[playerid][3] = CreatePlayerTextDraw(playerid, 63.000000, 298.000000, "Ocisceno:");
- PlayerTextDrawBackgroundColor(playerid, CistacTD[playerid][3], 255);
- PlayerTextDrawFont(playerid, CistacTD[playerid][3], 2);
- PlayerTextDrawLetterSize(playerid, CistacTD[playerid][3], 0.210000, 0.899999);
- PlayerTextDrawColor(playerid, CistacTD[playerid][3], 8454143);
- PlayerTextDrawSetOutline(playerid, CistacTD[playerid][3], 0);
- PlayerTextDrawSetProportional(playerid, CistacTD[playerid][3], 1);
- PlayerTextDrawSetShadow(playerid, CistacTD[playerid][3], 0);
- PlayerTextDrawSetSelectable(playerid, CistacTD[playerid][3], 0);
- CistacTD[playerid][4] = CreatePlayerTextDraw(playerid, 84.000000, 309.000000, "0/30");
- PlayerTextDrawAlignment(playerid, CistacTD[playerid][4], 2);
- PlayerTextDrawBackgroundColor(playerid, CistacTD[playerid][4], 255);
- PlayerTextDrawFont(playerid, CistacTD[playerid][4], 2);
- PlayerTextDrawLetterSize(playerid, CistacTD[playerid][4], 0.210000, 0.899999);
- PlayerTextDrawColor(playerid, CistacTD[playerid][4], -1);
- PlayerTextDrawSetOutline(playerid, CistacTD[playerid][4], 0);
- PlayerTextDrawSetProportional(playerid, CistacTD[playerid][4], 1);
- PlayerTextDrawSetShadow(playerid, CistacTD[playerid][4], 0);
- PlayerTextDrawSetSelectable(playerid, CistacTD[playerid][4], 0);
- for( new i = 0; i < 5; i ++ )
- {
- PlayerTextDrawShow(playerid, CistacTD[playerid][i]);
- }
- }
- else if( show == false )
- {
- for( new i = 0; i < 5; i ++)
- {
- PlayerTextDrawHide(playerid, CistacTD[playerid][i]);
- PlayerTextDrawDestroy(playerid, CistacTD[playerid][i]);
- CistacTD[playerid][i] = PlayerText:INVALID_TEXT_DRAW;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment