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: "Fondo"
- */
- new PlayerText:FondoPTD[MAX_PLAYERS][3];
- // creating player textdraw(s) under "OnPlayerConnect" preferably
- public OnPlayerConnect(playerid) {
- /*
- ** player textdarw group: "Fondo"
- */
- FondoPTD[playerid][0] = CreatePlayerTextDraw(playerid, 500.0000, 110.0000, "-");
- PlayerTextDrawFont(playerid, FondoPTD[playerid][0], 1);
- PlayerTextDrawLetterSize(playerid, FondoPTD[playerid][0], 0.0000, 2.5000);
- PlayerTextDrawColor(playerid, FondoPTD[playerid][0], -1);
- PlayerTextDrawSetShadow(playerid, FondoPTD[playerid][0], 0);
- PlayerTextDrawSetOutline(playerid, FondoPTD[playerid][0], 0);
- PlayerTextDrawBackgroundColor(playerid, FondoPTD[playerid][0], 255);
- PlayerTextDrawSetProportional(playerid, FondoPTD[playerid][0], 1);
- PlayerTextDrawUseBox(playerid, FondoPTD[playerid][0], 1);
- PlayerTextDrawBoxColor(playerid, FondoPTD[playerid][0], 8388863);
- PlayerTextDrawTextSize(playerid, FondoPTD[playerid][0], 495.5000, 0.0000);
- FondoPTD[playerid][1] = CreatePlayerTextDraw(playerid, 500.0000, 110.0000, "-");
- PlayerTextDrawFont(playerid, FondoPTD[playerid][1], 1);
- PlayerTextDrawLetterSize(playerid, FondoPTD[playerid][1], 0.0000, 2.5000);
- PlayerTextDrawColor(playerid, FondoPTD[playerid][1], -1);
- PlayerTextDrawSetShadow(playerid, FondoPTD[playerid][1], 0);
- PlayerTextDrawSetOutline(playerid, FondoPTD[playerid][1], 0);
- PlayerTextDrawBackgroundColor(playerid, FondoPTD[playerid][1], 255);
- PlayerTextDrawSetProportional(playerid, FondoPTD[playerid][1], 1);
- PlayerTextDrawUseBox(playerid, FondoPTD[playerid][1], 1);
- PlayerTextDrawBoxColor(playerid, FondoPTD[playerid][1], 255);
- PlayerTextDrawTextSize(playerid, FondoPTD[playerid][1], 605.5000, 0.0000);
- FondoPTD[playerid][2] = CreatePlayerTextDraw(playerid, 500.0000, 110.0000, "Presiona ~y~Y~w~ para extraer los frutos de la planta.");
- PlayerTextDrawFont(playerid, FondoPTD[playerid][2], 1);
- PlayerTextDrawLetterSize(playerid, FondoPTD[playerid][2], 0.2600, 1.1000);
- PlayerTextDrawColor(playerid, FondoPTD[playerid][2], -1);
- PlayerTextDrawSetShadow(playerid, FondoPTD[playerid][2], 0);
- PlayerTextDrawSetOutline(playerid, FondoPTD[playerid][2], 0);
- PlayerTextDrawBackgroundColor(playerid, FondoPTD[playerid][2], 255);
- PlayerTextDrawSetProportional(playerid, FondoPTD[playerid][2], 1);
- PlayerTextDrawTextSize(playerid, FondoPTD[playerid][2], 605.0000, 0.0000);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement