/* #include <a_samp> new Text:Textdraw9; new Text:Textdraw10; new Text:Textdraw11; public OnFilterScriptInit() { print("Textdraw file generated by"); print(" Zamaroht's textdraw editor was loaded."); // Create the textdraws: Textdraw9 = TextDrawCreate(701.000000, 2.000000, "U"); TextDrawAlignment(Textdraw9, 3); TextDrawBackgroundColor(Textdraw9, 255); TextDrawFont(Textdraw9, 0); TextDrawLetterSize(Textdraw9, 0.569998, 1.899999); TextDrawColor(Textdraw9, -1); TextDrawSetOutline(Textdraw9, 0); TextDrawSetProportional(Textdraw9, 1); TextDrawSetShadow(Textdraw9, 1000); TextDrawUseBox(Textdraw9, 1); TextDrawBoxColor(Textdraw9, 255); TextDrawTextSize(Textdraw9, 9.000000, 17.000000); Textdraw10 = TextDrawCreate(675.000000, 426.000000, "D"); TextDrawAlignment(Textdraw10, 3); TextDrawBackgroundColor(Textdraw10, 255); TextDrawFont(Textdraw10, 1); TextDrawLetterSize(Textdraw10, 0.500000, 2.299998); TextDrawColor(Textdraw10, -1); TextDrawSetOutline(Textdraw10, 0); TextDrawSetProportional(Textdraw10, 1); TextDrawSetShadow(Textdraw10, 1); TextDrawUseBox(Textdraw10, 1); TextDrawBoxColor(Textdraw10, 255); TextDrawTextSize(Textdraw10, 0.000000, 0.000000); Textdraw11 = TextDrawCreate(27.000000, 25.000000, "]"); TextDrawAlignment(Textdraw11, 3); TextDrawBackgroundColor(Textdraw11, 255); TextDrawFont(Textdraw11, 1); TextDrawLetterSize(Textdraw11, 0.000000, 44.299896); TextDrawColor(Textdraw11, 255); TextDrawSetOutline(Textdraw11, 0); TextDrawSetProportional(Textdraw11, 0); TextDrawSetShadow(Textdraw11, 1); TextDrawUseBox(Textdraw11, 1); TextDrawBoxColor(Textdraw11, 255); TextDrawTextSize(Textdraw11, 8.000000, 16.000000); return 1; } public OnFilterScriptExit() { TextDrawHideForAll(Textdraw9); TextDrawDestroy(Textdraw9); TextDrawHideForAll(Textdraw10); TextDrawDestroy(Textdraw10); TextDrawHideForAll(Textdraw11); TextDrawDestroy(Textdraw11); return 1; } public OnPlayerRequestClass(playerid, classid) { TextDrawShowForPlayer(playerid, Textdraw9); TextDrawShowForPlayer(playerid, Textdraw10); TextDrawShowForPlayer(playerid, Textdraw11); return 1; } public OnPlayerSpawn(playerid) { TextDrawHideForPlayer(playerid, Textdraw9); TextDrawHideForPlayer(playerid, Textdraw10); TextDrawHideForPlayer(playerid, Textdraw11); return 1; }
Help Me ..
i do this textdraw with Zamaroht's TextDraw Editor Version 1.0 I do this at OnPlayerRequestClass But Textdraw11 Doesn't Show At Class Textdraw11 Show At When player at Vehicle Why ? Please Help me CODE HERE : Код:
/* #include <a_samp> new Text:Textdraw9; new Text:Textdraw10; new Text:Textdraw11; public OnFilterScriptInit() { print("Textdraw file generated by"); print(" Zamaroht's textdraw editor was loaded."); // Create the textdraws: Textdraw9 = TextDrawCreate(701.000000, 2.000000, "U"); TextDrawAlignment(Textdraw9, 3); TextDrawBackgroundColor(Textdraw9, 255); TextDrawFont(Textdraw9, 0); TextDrawLetterSize(Textdraw9, 0.569998, 1.899999); TextDrawColor(Textdraw9, -1); TextDrawSetOutline(Textdraw9, 0); TextDrawSetProportional(Textdraw9, 1); TextDrawSetShadow(Textdraw9, 1000); TextDrawUseBox(Textdraw9, 1); TextDrawBoxColor(Textdraw9, 255); TextDrawTextSize(Textdraw9, 9.000000, 17.000000); Textdraw10 = TextDrawCreate(675.000000, 426.000000, "D"); TextDrawAlignment(Textdraw10, 3); TextDrawBackgroundColor(Textdraw10, 255); TextDrawFont(Textdraw10, 1); TextDrawLetterSize(Textdraw10, 0.500000, 2.299998); TextDrawColor(Textdraw10, -1); TextDrawSetOutline(Textdraw10, 0); TextDrawSetProportional(Textdraw10, 1); TextDrawSetShadow(Textdraw10, 1); TextDrawUseBox(Textdraw10, 1); TextDrawBoxColor(Textdraw10, 255); TextDrawTextSize(Textdraw10, 0.000000, 0.000000); Textdraw11 = TextDrawCreate(27.000000, 25.000000, "]"); TextDrawAlignment(Textdraw11, 3); TextDrawBackgroundColor(Textdraw11, 255); TextDrawFont(Textdraw11, 1); TextDrawLetterSize(Textdraw11, 0.000000, 44.299896); TextDrawColor(Textdraw11, 255); TextDrawSetOutline(Textdraw11, 0); TextDrawSetProportional(Textdraw11, 0); TextDrawSetShadow(Textdraw11, 1); TextDrawUseBox(Textdraw11, 1); TextDrawBoxColor(Textdraw11, 255); TextDrawTextSize(Textdraw11, 8.000000, 16.000000); return 1; } public OnFilterScriptExit() { TextDrawHideForAll(Textdraw9); TextDrawDestroy(Textdraw9); TextDrawHideForAll(Textdraw10); TextDrawDestroy(Textdraw10); TextDrawHideForAll(Textdraw11); TextDrawDestroy(Textdraw11); return 1; } public OnPlayerRequestClass(playerid, classid) { TextDrawShowForPlayer(playerid, Textdraw9); TextDrawShowForPlayer(playerid, Textdraw10); TextDrawShowForPlayer(playerid, Textdraw11); return 1; } public OnPlayerSpawn(playerid) { TextDrawHideForPlayer(playerid, Textdraw9); TextDrawHideForPlayer(playerid, Textdraw10); TextDrawHideForPlayer(playerid, Textdraw11); return 1; } |
new Text:Textdraw9; new Text:Textdraw10; new Text:Textdraw11;
new Textdraw9; new Textdraw10; new Textdraw11;