Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // TextDraw developed using Zamaroht's Textdraw Editor 1.0
- // The fuction `PlayerTextDraw´ add by adri1
- // On top of script:
- new PlayerText:Textdraw0;
- new PlayerText:Textdraw1;
- new PlayerText:Textdraw2;
- new PlayerText:Textdraw3;
- new PlayerText:Textdraw4;
- // In OnPlayerConnect prefferably, we procced to create our textdraws:
- Textdraw0 = CreatePlayerTextDraw(playerid,386.000000, 411.000000, "Chris Meller(0) requests a pickup.");
- PlayerTextDrawBackgroundColor(playerid,Textdraw0, 255);
- PlayerTextDrawFont(playerid,Textdraw0, 1);
- PlayerTextDrawLetterSize(playerid,Textdraw0, 0.380000, 0.799999);
- PlayerTextDrawColor(playerid,Textdraw0, -65281);
- PlayerTextDrawSetOutline(playerid,Textdraw0, 0);
- PlayerTextDrawSetProportional(playerid,Textdraw0, 1);
- PlayerTextDrawSetShadow(playerid,Textdraw0, 1);
- PlayerTextDrawUseBox(playerid,Textdraw0, 1);
- PlayerTextDrawBoxColor(playerid,Textdraw0, 255);
- PlayerTextDrawTextSize(playerid,Textdraw0, 603.000000, 529.000000);
- PlayerTextDrawSetSelectable(playerid,Textdraw0, 0);
- Textdraw1 = CreatePlayerTextDraw(playerid,386.000000, 400.000000, "Chris Money(1) requests a pickup.");
- PlayerTextDrawBackgroundColor(playerid,Textdraw1, 255);
- PlayerTextDrawFont(playerid,Textdraw1, 1);
- PlayerTextDrawLetterSize(playerid,Textdraw1, 0.380000, 0.899999);
- PlayerTextDrawColor(playerid,Textdraw1, -65281);
- PlayerTextDrawSetOutline(playerid,Textdraw1, 0);
- PlayerTextDrawSetProportional(playerid,Textdraw1, 1);
- PlayerTextDrawSetShadow(playerid,Textdraw1, 1);
- PlayerTextDrawUseBox(playerid,Textdraw1, 1);
- PlayerTextDrawBoxColor(playerid,Textdraw1, 255);
- PlayerTextDrawTextSize(playerid,Textdraw1, 603.000000, 529.000000);
- PlayerTextDrawSetSelectable(playerid,Textdraw1, 0);
- Textdraw2 = CreatePlayerTextDraw(playerid,386.000000, 389.000000, "Richard Doe(2) requests a pickup.");
- PlayerTextDrawBackgroundColor(playerid,Textdraw2, 255);
- PlayerTextDrawFont(playerid,Textdraw2, 1);
- PlayerTextDrawLetterSize(playerid,Textdraw2, 0.380000, 0.799999);
- PlayerTextDrawColor(playerid,Textdraw2, -65281);
- PlayerTextDrawSetOutline(playerid,Textdraw2, 0);
- PlayerTextDrawSetProportional(playerid,Textdraw2, 1);
- PlayerTextDrawSetShadow(playerid,Textdraw2, 1);
- PlayerTextDrawUseBox(playerid,Textdraw2, 1);
- PlayerTextDrawBoxColor(playerid,Textdraw2, 255);
- PlayerTextDrawTextSize(playerid,Textdraw2, 603.000000, 529.000000);
- PlayerTextDrawSetSelectable(playerid,Textdraw2, 0);
- Textdraw3 = CreatePlayerTextDraw(playerid,386.000000, 377.000000, "John Doe(3) requests a pickup.");
- PlayerTextDrawBackgroundColor(playerid,Textdraw3, 255);
- PlayerTextDrawFont(playerid,Textdraw3, 1);
- PlayerTextDrawLetterSize(playerid,Textdraw3, 0.380000, 0.799999);
- PlayerTextDrawColor(playerid,Textdraw3, -65281);
- PlayerTextDrawSetOutline(playerid,Textdraw3, 0);
- PlayerTextDrawSetProportional(playerid,Textdraw3, 1);
- PlayerTextDrawSetShadow(playerid,Textdraw3, 1);
- PlayerTextDrawUseBox(playerid,Textdraw3, 1);
- PlayerTextDrawBoxColor(playerid,Textdraw3, 255);
- PlayerTextDrawTextSize(playerid,Textdraw3, 603.000000, 529.000000);
- PlayerTextDrawSetSelectable(playerid,Textdraw3, 0);
- Textdraw4 = CreatePlayerTextDraw(playerid,451.000000, 363.000000, "DISPATCH");
- PlayerTextDrawBackgroundColor(playerid,Textdraw4, 255);
- PlayerTextDrawFont(playerid,Textdraw4, 1);
- PlayerTextDrawLetterSize(playerid,Textdraw4, 0.500000, 1.000000);
- PlayerTextDrawColor(playerid,Textdraw4, -1);
- PlayerTextDrawSetOutline(playerid,Textdraw4, 0);
- PlayerTextDrawSetProportional(playerid,Textdraw4, 1);
- PlayerTextDrawSetShadow(playerid,Textdraw4, 1);
- PlayerTextDrawUseBox(playerid,Textdraw4, 1);
- PlayerTextDrawBoxColor(playerid,Textdraw4, 255);
- PlayerTextDrawTextSize(playerid,Textdraw4, 530.000000, 1.000000);
- PlayerTextDrawSetSelectable(playerid,Textdraw4, 0);
- // You can now use PlayerTextDrawShow, PlayerTextDrawHide and
- // PlayerTextDrawDestroy functions to show, hide, and destroy the textdraw.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement