SHARE
TWEET

Notificacion

MarioBlack Apr 15th, 2020 870 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // TextDraw(s) developed using Gammix's TextDraw editor
  2. #include <a_samp>
  3.  
  4. // variable decleration on top of script
  5. /*
  6. ** textdarw group: "Notif"
  7. */
  8. new PlayerText:NotifPTD[MAX_PLAYERS][2];
  9.  
  10. // creating player textdraw(s) under "OnPlayerConnect" preferably
  11. public OnPlayerConnect(playerid) {
  12.     /*
  13.     ** player textdarw group: "Notif"
  14.     */
  15.     NotifPTD[playerid][0] = CreatePlayerTextDraw(playerid, 9.0000, 290.0000, "mdl-2295:notif");
  16.     PlayerTextDrawFont(playerid, NotifPTD[playerid][0], 4);
  17.     PlayerTextDrawLetterSize(playerid, NotifPTD[playerid][0], 0.5000, 1.0000);
  18.     PlayerTextDrawColor(playerid, NotifPTD[playerid][0], -1);
  19.     PlayerTextDrawSetShadow(playerid, NotifPTD[playerid][0], 0);
  20.     PlayerTextDrawSetOutline(playerid, NotifPTD[playerid][0], 0);
  21.     PlayerTextDrawBackgroundColor(playerid, NotifPTD[playerid][0], 255);
  22.     PlayerTextDrawSetProportional(playerid, NotifPTD[playerid][0], 1);
  23.     PlayerTextDrawTextSize(playerid, NotifPTD[playerid][0], 138.0000, 18.0000);
  24.  
  25.     NotifPTD[playerid][1] = CreatePlayerTextDraw(playerid, 19.0000, 294.0000, "Tienes hambre, deberias comer algo.");
  26.     PlayerTextDrawFont(playerid, NotifPTD[playerid][1], 1);
  27.     PlayerTextDrawLetterSize(playerid, NotifPTD[playerid][1], 0.1499, 1.0000);
  28.     PlayerTextDrawColor(playerid, NotifPTD[playerid][1], -1);
  29.     PlayerTextDrawSetShadow(playerid, NotifPTD[playerid][1], 0);
  30.     PlayerTextDrawSetOutline(playerid, NotifPTD[playerid][1], 0);
  31.     PlayerTextDrawBackgroundColor(playerid, NotifPTD[playerid][1], 255);
  32.     PlayerTextDrawSetProportional(playerid, NotifPTD[playerid][1], 1);
  33.     PlayerTextDrawTextSize(playerid, NotifPTD[playerid][1], 138.0000, 18.0000);
  34.  
  35.     return 1;
  36. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top