23.12.2014, 13:37
(
Последний раз редактировалось astanalol; 23.12.2014 в 14:37.
)
Hello Every One i Want Example How To Make Choose With Numbers i Done Making this Textdraw i Want Make it with Simple Commands
PHP код:
// TextDraw developed using Zamaroht's Textdraw Editor 1.0
// On top of script:
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
new Text:Textdraw6;
new Text:Textdraw7;
new Text:Textdraw8;
new Text:Textdraw9;
new Text:Textdraw10;
new Text:Textdraw11;
new Text:Textdraw12;
// In OnGameModeInit prefferably, we procced to create our textdraws:
Textdraw0 = TextDrawCreate(257.000000, 114.000000, "_");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.460000, 17.900032);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
TextDrawUseBox(Textdraw0, 1);
TextDrawBoxColor(Textdraw0, 170);
TextDrawTextSize(Textdraw0, 0.000000, 4.000000);
Textdraw1 = TextDrawCreate(257.000000, 114.000000, "_");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 1);
TextDrawLetterSize(Textdraw1, 1000.000000, 2.999999);
TextDrawColor(Textdraw1, 65535);
TextDrawSetOutline(Textdraw1, 0);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetShadow(Textdraw1, 1);
TextDrawUseBox(Textdraw1, 1);
TextDrawBoxColor(Textdraw1, 176895);
TextDrawTextSize(Textdraw1, 0.000000, 4.000000);
Textdraw2 = TextDrawCreate(15.000000, 115.000000, "FRSIT WRITE");
TextDrawBackgroundColor(Textdraw2, 255);
TextDrawFont(Textdraw2, 1);
TextDrawLetterSize(Textdraw2, 0.500000, 1.000000);
TextDrawColor(Textdraw2, -1);
TextDrawSetOutline(Textdraw2, 0);
TextDrawSetProportional(Textdraw2, 1);
TextDrawSetShadow(Textdraw2, 1);
Textdraw3 = TextDrawCreate(49.000000, 126.000000, "- 2WRITE");
TextDrawBackgroundColor(Textdraw3, 255);
TextDrawFont(Textdraw3, 1);
TextDrawLetterSize(Textdraw3, 0.500000, 1.000000);
TextDrawColor(Textdraw3, -1);
TextDrawSetOutline(Textdraw3, 0);
TextDrawSetProportional(Textdraw3, 1);
TextDrawSetShadow(Textdraw3, 1);
Textdraw4 = TextDrawCreate(58.000000, 244.000000, "Press F6 (T) And Select A Number");
TextDrawBackgroundColor(Textdraw4, 255);
TextDrawFont(Textdraw4, 1);
TextDrawLetterSize(Textdraw4, 0.219999, 1.000000);
TextDrawColor(Textdraw4, -1);
TextDrawSetOutline(Textdraw4, 0);
TextDrawSetProportional(Textdraw4, 1);
TextDrawSetShadow(Textdraw4, 1);
Textdraw5 = TextDrawCreate(65.000000, 256.000000, "Press LMB To Close This Box");
TextDrawBackgroundColor(Textdraw5, 255);
TextDrawFont(Textdraw5, 1);
TextDrawLetterSize(Textdraw5, 0.219999, 1.000000);
TextDrawColor(Textdraw5, -1);
TextDrawSetOutline(Textdraw5, 0);
TextDrawSetProportional(Textdraw5, 1);
TextDrawSetShadow(Textdraw5, 1);
Textdraw6 = TextDrawCreate(94.000000, 150.000000, "NAME 7aga");
TextDrawBackgroundColor(Textdraw6, 255);
TextDrawFont(Textdraw6, 1);
TextDrawLetterSize(Textdraw6, 0.219999, 1.000000);
TextDrawColor(Textdraw6, -1);
TextDrawSetOutline(Textdraw6, 0);
TextDrawSetProportional(Textdraw6, 1);
TextDrawSetShadow(Textdraw6, 1);
Textdraw7 = TextDrawCreate(9.000000, 165.000000, "1.");
TextDrawBackgroundColor(Textdraw7, 255);
TextDrawFont(Textdraw7, 1);
TextDrawLetterSize(Textdraw7, 0.310000, 1.100000);
TextDrawColor(Textdraw7, 176895);
TextDrawSetOutline(Textdraw7, 1);
TextDrawSetProportional(Textdraw7, 0);
Textdraw8 = TextDrawCreate(9.000000, 175.000000, "2.");
TextDrawBackgroundColor(Textdraw8, 255);
TextDrawFont(Textdraw8, 1);
TextDrawLetterSize(Textdraw8, 0.310000, 1.100000);
TextDrawColor(Textdraw8, 176895);
TextDrawSetOutline(Textdraw8, 1);
TextDrawSetProportional(Textdraw8, 0);
Textdraw9 = TextDrawCreate(9.000000, 185.000000, "3.");
TextDrawBackgroundColor(Textdraw9, 255);
TextDrawFont(Textdraw9, 1);
TextDrawLetterSize(Textdraw9, 0.310000, 1.100000);
TextDrawColor(Textdraw9, 176895);
TextDrawSetOutline(Textdraw9, 1);
TextDrawSetProportional(Textdraw9, 0);
Textdraw10 = TextDrawCreate(9.000000, 195.000000, "4.");
TextDrawBackgroundColor(Textdraw10, 255);
TextDrawFont(Textdraw10, 1);
TextDrawLetterSize(Textdraw10, 0.310000, 1.100000);
TextDrawColor(Textdraw10, 176895);
TextDrawSetOutline(Textdraw10, 1);
TextDrawSetProportional(Textdraw10, 0);
Textdraw11 = TextDrawCreate(9.000000, 205.000000, "5.");
TextDrawBackgroundColor(Textdraw11, 255);
TextDrawFont(Textdraw11, 1);
TextDrawLetterSize(Textdraw11, 0.310000, 1.100000);
TextDrawColor(Textdraw11, 176895);
TextDrawSetOutline(Textdraw11, 1);
TextDrawSetProportional(Textdraw11, 0);
Textdraw12 = TextDrawCreate(9.000000, 215.000000, "6.");
TextDrawBackgroundColor(Textdraw12, 255);
TextDrawFont(Textdraw12, 1);
TextDrawLetterSize(Textdraw12, 0.310000, 1.100000);
TextDrawColor(Textdraw12, 176895);
TextDrawSetOutline(Textdraw12, 1);
TextDrawSetProportional(Textdraw12, 0);
// You can now use TextDrawShowForPlayer(-ForAll), TextDrawHideForPlayer(-ForAll) and
// TextDrawDestroy functions to show, hide, and destroy the textdraw.