Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // TextDraw(s) developed using Gammix's TextDraw editor
- #include <a_samp>
- // variable decleration on top of script
- /*
- ** textdarw group: "Barras"
- */
- new PlayerText:BarrasPTD[MAX_PLAYERS][5];
- /*
- ** textdarw group: "Hambre"
- */
- new PlayerText:HambrePTD[MAX_PLAYERS][3];
- /*
- ** textdarw group: "Sed"
- */
- new PlayerText:SedPTD[MAX_PLAYERS][3];
- // creating player textdraw(s) under "OnPlayerConnect" preferably
- public OnPlayerConnect(playerid) {
- /*
- ** player textdarw group: "Barras"
- */
- BarrasPTD[playerid][0] = CreatePlayerTextDraw(playerid, 264.0000, 435.0000, ".");
- PlayerTextDrawFont(playerid, BarrasPTD[playerid][0], 0);
- PlayerTextDrawLetterSize(playerid, BarrasPTD[playerid][0], 0.0000, 0.6999);
- PlayerTextDrawAlignment(playerid, BarrasPTD[playerid][0], 2);
- PlayerTextDrawColor(playerid, BarrasPTD[playerid][0], 1768516095);
- PlayerTextDrawSetShadow(playerid, BarrasPTD[playerid][0], 0);
- PlayerTextDrawSetOutline(playerid, BarrasPTD[playerid][0], 0);
- PlayerTextDrawBackgroundColor(playerid, BarrasPTD[playerid][0], 255);
- PlayerTextDrawSetProportional(playerid, BarrasPTD[playerid][0], 1);
- PlayerTextDrawUseBox(playerid, BarrasPTD[playerid][0], 1);
- PlayerTextDrawBoxColor(playerid, BarrasPTD[playerid][0], 1768516095);
- PlayerTextDrawTextSize(playerid, BarrasPTD[playerid][0], 60.0000, 72.0000);
- BarrasPTD[playerid][1] = CreatePlayerTextDraw(playerid, 371.0000, 434.5000, ".");
- PlayerTextDrawFont(playerid, BarrasPTD[playerid][1], 0);
- PlayerTextDrawLetterSize(playerid, BarrasPTD[playerid][1], 0.0000, 0.6999);
- PlayerTextDrawAlignment(playerid, BarrasPTD[playerid][1], 2);
- PlayerTextDrawColor(playerid, BarrasPTD[playerid][1], 1768516095);
- PlayerTextDrawSetShadow(playerid, BarrasPTD[playerid][1], 0);
- PlayerTextDrawSetOutline(playerid, BarrasPTD[playerid][1], 0);
- PlayerTextDrawBackgroundColor(playerid, BarrasPTD[playerid][1], 255);
- PlayerTextDrawSetProportional(playerid, BarrasPTD[playerid][1], 1);
- PlayerTextDrawUseBox(playerid, BarrasPTD[playerid][1], 1);
- PlayerTextDrawBoxColor(playerid, BarrasPTD[playerid][1], 1768516095);
- PlayerTextDrawTextSize(playerid, BarrasPTD[playerid][1], 60.0000, 72.0000);
- BarrasPTD[playerid][2] = CreatePlayerTextDraw(playerid, 216.5000, 430.0000, "mdl-2295:bars");
- PlayerTextDrawFont(playerid, BarrasPTD[playerid][2], 4);
- PlayerTextDrawLetterSize(playerid, BarrasPTD[playerid][2], 0.5000, 1.0000);
- PlayerTextDrawAlignment(playerid, BarrasPTD[playerid][2], 2);
- PlayerTextDrawColor(playerid, BarrasPTD[playerid][2], -1);
- PlayerTextDrawSetShadow(playerid, BarrasPTD[playerid][2], 0);
- PlayerTextDrawSetOutline(playerid, BarrasPTD[playerid][2], 0);
- PlayerTextDrawBackgroundColor(playerid, BarrasPTD[playerid][2], 255);
- PlayerTextDrawSetProportional(playerid, BarrasPTD[playerid][2], 1);
- PlayerTextDrawTextSize(playerid, BarrasPTD[playerid][2], 200.0000, 15.0000);
- BarrasPTD[playerid][3] = CreatePlayerTextDraw(playerid, 297.0000, 434.0000, "mdl-2295:progress");
- PlayerTextDrawFont(playerid, BarrasPTD[playerid][3], 4);
- PlayerTextDrawLetterSize(playerid, BarrasPTD[playerid][3], 0.5000, 1.0000);
- PlayerTextDrawAlignment(playerid, BarrasPTD[playerid][3], 2);
- PlayerTextDrawColor(playerid, BarrasPTD[playerid][3], -1);
- PlayerTextDrawSetShadow(playerid, BarrasPTD[playerid][3], 0);
- PlayerTextDrawSetOutline(playerid, BarrasPTD[playerid][3], 0);
- PlayerTextDrawBackgroundColor(playerid, BarrasPTD[playerid][3], 255);
- PlayerTextDrawSetProportional(playerid, BarrasPTD[playerid][3], 1);
- PlayerTextDrawTextSize(playerid, BarrasPTD[playerid][3], 3.0000, 7.0000);
- BarrasPTD[playerid][4] = CreatePlayerTextDraw(playerid, 235.0000, 434.0000, "mdl-2295:progress");
- PlayerTextDrawFont(playerid, BarrasPTD[playerid][4], 4);
- PlayerTextDrawLetterSize(playerid, BarrasPTD[playerid][4], 0.5000, 1.0000);
- PlayerTextDrawAlignment(playerid, BarrasPTD[playerid][4], 2);
- PlayerTextDrawColor(playerid, BarrasPTD[playerid][4], -1);
- PlayerTextDrawSetShadow(playerid, BarrasPTD[playerid][4], 0);
- PlayerTextDrawSetOutline(playerid, BarrasPTD[playerid][4], 0);
- PlayerTextDrawBackgroundColor(playerid, BarrasPTD[playerid][4], 255);
- PlayerTextDrawSetProportional(playerid, BarrasPTD[playerid][4], 1);
- PlayerTextDrawTextSize(playerid, BarrasPTD[playerid][4], -3.0000, 7.0000);
- /*
- ** player textdarw group: "Hambre"
- */
- HambrePTD[playerid][0] = CreatePlayerTextDraw(playerid, 236.5000, 436.5000, "-");
- PlayerTextDrawFont(playerid, HambrePTD[playerid][0], 1);
- PlayerTextDrawLetterSize(playerid, HambrePTD[playerid][0], 0.0000, 0.2000);
- PlayerTextDrawColor(playerid, HambrePTD[playerid][0], -1);
- PlayerTextDrawSetShadow(playerid, HambrePTD[playerid][0], 0);
- PlayerTextDrawSetOutline(playerid, HambrePTD[playerid][0], 0);
- PlayerTextDrawBackgroundColor(playerid, HambrePTD[playerid][0], 255);
- PlayerTextDrawSetProportional(playerid, HambrePTD[playerid][0], 1);
- PlayerTextDrawUseBox(playerid, HambrePTD[playerid][0], 1);
- PlayerTextDrawBoxColor(playerid, HambrePTD[playerid][0], -1);
- PlayerTextDrawTextSize(playerid, HambrePTD[playerid][0], 295.5000, 0.0000);
- HambrePTD[playerid][1] = CreatePlayerTextDraw(playerid, 297.0000, 434.0000, "mdl-2295:progress");
- PlayerTextDrawFont(playerid, HambrePTD[playerid][1], 4);
- PlayerTextDrawLetterSize(playerid, HambrePTD[playerid][1], 0.5000, 1.0000);
- PlayerTextDrawAlignment(playerid, HambrePTD[playerid][1], 2);
- PlayerTextDrawColor(playerid, HambrePTD[playerid][1], -1);
- PlayerTextDrawSetShadow(playerid, HambrePTD[playerid][1], 0);
- PlayerTextDrawSetOutline(playerid, HambrePTD[playerid][1], 0);
- PlayerTextDrawBackgroundColor(playerid, HambrePTD[playerid][1], 255);
- PlayerTextDrawSetProportional(playerid, HambrePTD[playerid][1], 1);
- PlayerTextDrawTextSize(playerid, HambrePTD[playerid][1], 3.0000, 7.0000);
- HambrePTD[playerid][2] = CreatePlayerTextDraw(playerid, 235.0000, 434.0000, "mdl-2295:progress");
- PlayerTextDrawFont(playerid, HambrePTD[playerid][2], 4);
- PlayerTextDrawLetterSize(playerid, HambrePTD[playerid][2], 0.5000, 1.0000);
- PlayerTextDrawAlignment(playerid, HambrePTD[playerid][2], 2);
- PlayerTextDrawColor(playerid, HambrePTD[playerid][2], -1);
- PlayerTextDrawSetShadow(playerid, HambrePTD[playerid][2], 0);
- PlayerTextDrawSetOutline(playerid, HambrePTD[playerid][2], 0);
- PlayerTextDrawBackgroundColor(playerid, HambrePTD[playerid][2], 255);
- PlayerTextDrawSetProportional(playerid, HambrePTD[playerid][2], 1);
- PlayerTextDrawTextSize(playerid, HambrePTD[playerid][2], -3.0000, 7.0000);
- /*
- ** player textdarw group: "Sed"
- */
- SedPTD[playerid][0] = CreatePlayerTextDraw(playerid, 344.5000, 436.5000, "-");
- PlayerTextDrawFont(playerid, SedPTD[playerid][0], 1);
- PlayerTextDrawLetterSize(playerid, SedPTD[playerid][0], 0.0000, 0.2000);
- PlayerTextDrawColor(playerid, SedPTD[playerid][0], -1);
- PlayerTextDrawSetShadow(playerid, SedPTD[playerid][0], 0);
- PlayerTextDrawSetOutline(playerid, SedPTD[playerid][0], 0);
- PlayerTextDrawBackgroundColor(playerid, SedPTD[playerid][0], 255);
- PlayerTextDrawSetProportional(playerid, SedPTD[playerid][0], 1);
- PlayerTextDrawUseBox(playerid, SedPTD[playerid][0], 1);
- PlayerTextDrawBoxColor(playerid, SedPTD[playerid][0], -1);
- PlayerTextDrawTextSize(playerid, SedPTD[playerid][0], 403.0000, 0.0000);
- SedPTD[playerid][1] = CreatePlayerTextDraw(playerid, 405.0000, 434.0000, "mdl-2295:progress");
- PlayerTextDrawFont(playerid, SedPTD[playerid][1], 4);
- PlayerTextDrawLetterSize(playerid, SedPTD[playerid][1], 0.5000, 1.0000);
- PlayerTextDrawAlignment(playerid, SedPTD[playerid][1], 2);
- PlayerTextDrawColor(playerid, SedPTD[playerid][1], -1);
- PlayerTextDrawSetShadow(playerid, SedPTD[playerid][1], 0);
- PlayerTextDrawSetOutline(playerid, SedPTD[playerid][1], 0);
- PlayerTextDrawBackgroundColor(playerid, SedPTD[playerid][1], 255);
- PlayerTextDrawSetProportional(playerid, SedPTD[playerid][1], 1);
- PlayerTextDrawTextSize(playerid, SedPTD[playerid][1], 3.0000, 7.0000);
- SedPTD[playerid][2] = CreatePlayerTextDraw(playerid, 343.0000, 434.0000, "mdl-2295:progress");
- PlayerTextDrawFont(playerid, SedPTD[playerid][2], 4);
- PlayerTextDrawLetterSize(playerid, SedPTD[playerid][2], 0.5000, 1.0000);
- PlayerTextDrawAlignment(playerid, SedPTD[playerid][2], 2);
- PlayerTextDrawColor(playerid, SedPTD[playerid][2], -1);
- PlayerTextDrawSetShadow(playerid, SedPTD[playerid][2], 0);
- PlayerTextDrawSetOutline(playerid, SedPTD[playerid][2], 0);
- PlayerTextDrawBackgroundColor(playerid, SedPTD[playerid][2], 255);
- PlayerTextDrawSetProportional(playerid, SedPTD[playerid][2], 1);
- PlayerTextDrawTextSize(playerid, SedPTD[playerid][2], -3.0000, 7.0000);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement