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: "Notif"
- */
- new PlayerText:NotifPTD[MAX_PLAYERS][2];
- // creating player textdraw(s) under "OnPlayerConnect" preferably
- public OnPlayerConnect(playerid) {
- /*
- ** player textdarw group: "Notif"
- */
- NotifPTD[playerid][0] = CreatePlayerTextDraw(playerid, 9.0000, 290.0000, "mdl-2295:notif");
- PlayerTextDrawFont(playerid, NotifPTD[playerid][0], 4);
- PlayerTextDrawLetterSize(playerid, NotifPTD[playerid][0], 0.5000, 1.0000);
- PlayerTextDrawColor(playerid, NotifPTD[playerid][0], -1);
- PlayerTextDrawSetShadow(playerid, NotifPTD[playerid][0], 0);
- PlayerTextDrawSetOutline(playerid, NotifPTD[playerid][0], 0);
- PlayerTextDrawBackgroundColor(playerid, NotifPTD[playerid][0], 255);
- PlayerTextDrawSetProportional(playerid, NotifPTD[playerid][0], 1);
- PlayerTextDrawTextSize(playerid, NotifPTD[playerid][0], 138.0000, 18.0000);
- NotifPTD[playerid][1] = CreatePlayerTextDraw(playerid, 19.0000, 294.0000, "Tienes hambre, deberias comer algo.");
- PlayerTextDrawFont(playerid, NotifPTD[playerid][1], 1);
- PlayerTextDrawLetterSize(playerid, NotifPTD[playerid][1], 0.1499, 1.0000);
- PlayerTextDrawColor(playerid, NotifPTD[playerid][1], -1);
- PlayerTextDrawSetShadow(playerid, NotifPTD[playerid][1], 0);
- PlayerTextDrawSetOutline(playerid, NotifPTD[playerid][1], 0);
- PlayerTextDrawBackgroundColor(playerid, NotifPTD[playerid][1], 255);
- PlayerTextDrawSetProportional(playerid, NotifPTD[playerid][1], 1);
- PlayerTextDrawTextSize(playerid, NotifPTD[playerid][1], 138.0000, 18.0000);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement