21.12.2015, 20:06
Eu estava criando uma tela de login por FS, mбs ocorreu um bug, quando a pessoa morre a tela de login fica aparecendo, como arrumo ?
Код:
#include <a_samp> #define Vermelho 0xFF230AFF #define Amarelo 0xEDED26FF #define Verde 0x1CD622FF #define Azul 0x0597F2FF #define Rosa 0xF000ECFF #define Laranja 0xFAAC02FF #define Roxo 0x9B02FAFF #define BRANCO 0xFFFFFFFF #define Cinza 0x6B6A67FF #define CorTele 0x05E3A4FF 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; new Text:Textdraw13; new Text:Textdraw14; new Text:Textdraw15; new Text:Textdraw16; new Text:Textdraw17; new Text:Textdraw18; new Text:Textdraw19; new Text:Textdraw20; new Text:Textdraw21; new Text:Textdraw22; new Text:Textdraw23; new Text:IMAGEMENTRADA; new Text:Textdraw25; new Text:SOBREOSERVER; new Text:MENSAGEMENTRADA; new Text:MENSAGEMENTRADA2; new Text:MENSAGEMENTRADA3; new Text:MENSAGEMENTRADA4; new Text:MENSAGEMENTRADA5; new Text:MENSAGEMLOGO; new Text:TEXTLOGO; public OnFilterScriptInit() { print("TELA DE LOGIN BY"); print(" O PIROCUDO DO THIAGO SZ"); // Create the textdraws: Textdraw0 = TextDrawCreate(644.000000, 1.000000, "_"); TextDrawBackgroundColor(Textdraw0, 255); TextDrawFont(Textdraw0, 0); TextDrawLetterSize(Textdraw0, 0.800000, 4.799996); TextDrawColor(Textdraw0, -1); TextDrawSetOutline(Textdraw0, 0); TextDrawSetProportional(Textdraw0, 0); TextDrawSetShadow(Textdraw0, 0); TextDrawUseBox(Textdraw0, 3); TextDrawBoxColor(Textdraw0, 255); TextDrawTextSize(Textdraw0, -4.000000, -26.000000); Textdraw1 = TextDrawCreate(644.000000, 20.000000, "_"); TextDrawBackgroundColor(Textdraw1, 255); TextDrawFont(Textdraw1, 0); TextDrawLetterSize(Textdraw1, 0.800000, 4.799996); TextDrawColor(Textdraw1, -1); TextDrawSetOutline(Textdraw1, 0); TextDrawSetProportional(Textdraw1, 0); TextDrawSetShadow(Textdraw1, 0); TextDrawUseBox(Textdraw1, 3); TextDrawBoxColor(Textdraw1, 255); TextDrawTextSize(Textdraw1, -4.000000, -26.000000); Textdraw2 = TextDrawCreate(644.000000, 403.000000, "_"); TextDrawBackgroundColor(Textdraw2, 255); TextDrawFont(Textdraw2, 0); TextDrawLetterSize(Textdraw2, 0.800000, 4.799996); TextDrawColor(Textdraw2, -1); TextDrawSetOutline(Textdraw2, 0); TextDrawSetProportional(Textdraw2, 0); TextDrawSetShadow(Textdraw2, 0); TextDrawUseBox(Textdraw2, 3); TextDrawBoxColor(Textdraw2, 255); TextDrawTextSize(Textdraw2, -4.000000, -26.000000); Textdraw3 = TextDrawCreate(644.000000, 390.000000, "_"); TextDrawBackgroundColor(Textdraw3, 255); TextDrawFont(Textdraw3, 0); TextDrawLetterSize(Textdraw3, 0.800000, 4.799996); TextDrawColor(Textdraw3, -1); TextDrawSetOutline(Textdraw3, 0); TextDrawSetProportional(Textdraw3, 0); TextDrawSetShadow(Textdraw3, 0); TextDrawUseBox(Textdraw3, 3); TextDrawBoxColor(Textdraw3, 255); TextDrawTextSize(Textdraw3, -4.000000, -26.000000); Textdraw4 = TextDrawCreate(644.000000, 390.000000, "_"); TextDrawBackgroundColor(Textdraw4, 255); TextDrawFont(Textdraw4, 0); TextDrawLetterSize(Textdraw4, 0.800000, 4.799996); TextDrawColor(Textdraw4, -1); TextDrawSetOutline(Textdraw4, 0); TextDrawSetProportional(Textdraw4, 0); TextDrawSetShadow(Textdraw4, 0); TextDrawUseBox(Textdraw4, 3); TextDrawBoxColor(Textdraw4, 255); TextDrawTextSize(Textdraw4, -4.000000, -26.000000); Textdraw2 = TextDrawCreate(644.000000, 399.000000, "_"); TextDrawBackgroundColor(Textdraw2, 255); TextDrawFont(Textdraw2, 0); TextDrawLetterSize(Textdraw2, 0.800000, 4.799996); TextDrawColor(Textdraw2, -1); TextDrawSetOutline(Textdraw2, 0); TextDrawSetProportional(Textdraw2, 0); TextDrawSetShadow(Textdraw2, 0); TextDrawUseBox(Textdraw2, 3); TextDrawBoxColor(Textdraw2, 255); TextDrawTextSize(Textdraw2, -4.000000, -26.000000); /* Textdraw6 = TextDrawCreate(258.000000, 17.000000, "Brasil PlayPerfect"); TextDrawBackgroundColor(Textdraw6, 255); TextDrawFont(Textdraw6, 3); TextDrawLetterSize(Textdraw6, 0.539999, 2.000000); TextDrawColor(Textdraw6, -1); TextDrawSetOutline(Textdraw6, 0); TextDrawSetProportional(Textdraw6, 1); TextDrawSetShadow(Textdraw6, 1); Textdraw7 = TextDrawCreate(17.000000, 400.000000, "Bem vindo"); TextDrawBackgroundColor(Textdraw7, 255); TextDrawFont(Textdraw7, 3); TextDrawLetterSize(Textdraw7, 0.500000, 1.000000); TextDrawColor(Textdraw7, 16777215); TextDrawSetOutline(Textdraw7, 0); TextDrawSetProportional(Textdraw7, 1); TextDrawSetShadow(Textdraw7, 1); */ Textdraw8 = TextDrawCreate(644.000000, 40.000000, "_"); TextDrawBackgroundColor(Textdraw8, 255); TextDrawFont(Textdraw8, 0); TextDrawLetterSize(Textdraw8, 0.800000, 4.799996); TextDrawColor(Textdraw8, -1); TextDrawSetOutline(Textdraw8, 0); TextDrawSetProportional(Textdraw8, 0); TextDrawSetShadow(Textdraw8, 0); TextDrawUseBox(Textdraw8, 3); TextDrawBoxColor(Textdraw8, 255); TextDrawTextSize(Textdraw8, -4.000000, -26.000000); Textdraw9 = TextDrawCreate(644.000000, 60.000000, "_"); TextDrawBackgroundColor(Textdraw9, 255); TextDrawFont(Textdraw9, 0); TextDrawLetterSize(Textdraw9, 0.800000, 4.799996); TextDrawColor(Textdraw9, -1); TextDrawSetOutline(Textdraw9, 0); TextDrawSetProportional(Textdraw9, 0); TextDrawSetShadow(Textdraw9, 0); TextDrawUseBox(Textdraw9, 3); TextDrawBoxColor(Textdraw9, 255); TextDrawTextSize(Textdraw9, -4.000000, -26.000000); Textdraw10 = TextDrawCreate(644.000000, 80.000000, "_"); TextDrawBackgroundColor(Textdraw10, 255); TextDrawFont(Textdraw10, 0); TextDrawLetterSize(Textdraw10, 0.800000, 4.799996); TextDrawColor(Textdraw10, -1); TextDrawSetOutline(Textdraw10, 0); TextDrawSetProportional(Textdraw10, 0); TextDrawSetShadow(Textdraw10, 0); TextDrawUseBox(Textdraw10, 3); TextDrawBoxColor(Textdraw10, 255); TextDrawTextSize(Textdraw10, -4.000000, -26.000000); Textdraw11 = TextDrawCreate(644.000000, 100.000000, "_"); TextDrawBackgroundColor(Textdraw11, 255); TextDrawFont(Textdraw11, 0); TextDrawLetterSize(Textdraw11, 0.800000, 4.799996); TextDrawColor(Textdraw11, -1); TextDrawSetOutline(Textdraw11, 0); TextDrawSetProportional(Textdraw11, 0); TextDrawSetShadow(Textdraw11, 0); TextDrawUseBox(Textdraw11, 3); TextDrawBoxColor(Textdraw11, 255); TextDrawTextSize(Textdraw11, -4.000000, -26.000000); Textdraw12 = TextDrawCreate(644.000000, 120.000000, "_"); TextDrawBackgroundColor(Textdraw12, 255); TextDrawFont(Textdraw12, 0); TextDrawLetterSize(Textdraw12, 0.800000, 4.799996); TextDrawColor(Textdraw12, -1); TextDrawSetOutline(Textdraw12, 0); TextDrawSetProportional(Textdraw12, 0); TextDrawSetShadow(Textdraw12, 0); TextDrawUseBox(Textdraw12, 3); TextDrawBoxColor(Textdraw12, 255); TextDrawTextSize(Textdraw12, -4.000000, -26.000000); Textdraw13 = TextDrawCreate(644.000000, 140.000000, "_"); TextDrawBackgroundColor(Textdraw13, 255); TextDrawFont(Textdraw13, 0); TextDrawLetterSize(Textdraw13, 0.800000, 4.799996); TextDrawColor(Textdraw13, -1); TextDrawSetOutline(Textdraw13, 0); TextDrawSetProportional(Textdraw13, 0); TextDrawSetShadow(Textdraw13, 0); TextDrawUseBox(Textdraw13, 3); TextDrawBoxColor(Textdraw13, 255); TextDrawTextSize(Textdraw13, -4.000000, -26.000000); Textdraw14 = TextDrawCreate(644.000000, 160.000000, "_"); TextDrawBackgroundColor(Textdraw14, 255); TextDrawFont(Textdraw14, 0); TextDrawLetterSize(Textdraw14, 0.800000, 4.799996); TextDrawColor(Textdraw14, -1); TextDrawSetOutline(Textdraw14, 0); TextDrawSetProportional(Textdraw14, 0); TextDrawSetShadow(Textdraw14, 0); TextDrawUseBox(Textdraw14, 3); TextDrawBoxColor(Textdraw14, 255); TextDrawTextSize(Textdraw14, -4.000000, -26.000000); Textdraw15 = TextDrawCreate(644.000000, 180.000000, "_"); TextDrawBackgroundColor(Textdraw15, 255); TextDrawFont(Textdraw15, 0); TextDrawLetterSize(Textdraw15, 0.800000, 4.799996); TextDrawColor(Textdraw15, -1); TextDrawSetOutline(Textdraw15, 0); TextDrawSetProportional(Textdraw15, 0); TextDrawSetShadow(Textdraw15, 0); TextDrawUseBox(Textdraw15, 3); TextDrawBoxColor(Textdraw15, 255); TextDrawTextSize(Textdraw15, -4.000000, -26.000000); Textdraw16 = TextDrawCreate(644.000000, 200.000000, "_"); TextDrawBackgroundColor(Textdraw16, 255); TextDrawFont(Textdraw16, 0); TextDrawLetterSize(Textdraw16, 0.800000, 4.799996); TextDrawColor(Textdraw16, -1); TextDrawSetOutline(Textdraw16, 0); TextDrawSetProportional(Textdraw16, 0); TextDrawSetShadow(Textdraw16, 0); TextDrawUseBox(Textdraw16, 3); TextDrawBoxColor(Textdraw16, 255); TextDrawTextSize(Textdraw16, -4.000000, -26.000000); Textdraw17 = TextDrawCreate(644.000000, 220.000000, "_"); TextDrawBackgroundColor(Textdraw17, 255); TextDrawFont(Textdraw17, 0); TextDrawLetterSize(Textdraw17, 0.800000, 4.799996); TextDrawColor(Textdraw17, -1); TextDrawSetOutline(Textdraw17, 0); TextDrawSetProportional(Textdraw17, 0); TextDrawSetShadow(Textdraw17, 0); TextDrawUseBox(Textdraw17, 3); TextDrawBoxColor(Textdraw17, 255); TextDrawTextSize(Textdraw17, -4.000000, -26.000000); Textdraw18 = TextDrawCreate(644.000000, 240.000000, "_"); TextDrawBackgroundColor(Textdraw18, 255); TextDrawFont(Textdraw18, 0); TextDrawLetterSize(Textdraw18, 0.800000, 4.799996); TextDrawColor(Textdraw18, -1); TextDrawSetOutline(Textdraw18, 0); TextDrawSetProportional(Textdraw18, 0); TextDrawSetShadow(Textdraw18, 0); TextDrawUseBox(Textdraw18, 3); TextDrawBoxColor(Textdraw18, 255); TextDrawTextSize(Textdraw18, -4.000000, -26.000000); Textdraw19 = TextDrawCreate(644.000000, 260.000000, "_"); TextDrawBackgroundColor(Textdraw19, 255); TextDrawFont(Textdraw19, 0); TextDrawLetterSize(Textdraw19, 0.800000, 4.799996); TextDrawColor(Textdraw19, -1); TextDrawSetOutline(Textdraw19, 0); TextDrawSetProportional(Textdraw19, 0); TextDrawSetShadow(Textdraw19, 0); TextDrawUseBox(Textdraw19, 3); TextDrawBoxColor(Textdraw19, 255); TextDrawTextSize(Textdraw19, -4.000000, -26.000000); Textdraw20 = TextDrawCreate(644.000000, 240.000000, "_"); TextDrawBackgroundColor(Textdraw20, 255); TextDrawFont(Textdraw20, 0); TextDrawLetterSize(Textdraw20, 0.800000, 4.799996); TextDrawColor(Textdraw20, -1); TextDrawSetOutline(Textdraw20, 0); TextDrawSetProportional(Textdraw20, 0); TextDrawSetShadow(Textdraw20, 0); TextDrawUseBox(Textdraw20, 3); TextDrawBoxColor(Textdraw20, 255); TextDrawTextSize(Textdraw20, -4.000000, -26.000000); Textdraw21 = TextDrawCreate(644.000000, 260.000000, "_"); TextDrawBackgroundColor(Textdraw21, 255); TextDrawFont(Textdraw21, 0); TextDrawLetterSize(Textdraw21, 0.800000, 4.799996); TextDrawColor(Textdraw21, -1); TextDrawSetOutline(Textdraw21, 0); TextDrawSetProportional(Textdraw21, 0); TextDrawSetShadow(Textdraw21, 0); TextDrawUseBox(Textdraw21, 3); TextDrawBoxColor(Textdraw21, 255); TextDrawTextSize(Textdraw21, -4.000000, -26.000000); Textdraw22 = TextDrawCreate(644.000000, 280.000000, "_"); TextDrawBackgroundColor(Textdraw22, 255); TextDrawFont(Textdraw22, 0); TextDrawLetterSize(Textdraw22, 0.800000, 4.799996); TextDrawColor(Textdraw22, -1); TextDrawSetOutline(Textdraw22, 0); TextDrawSetProportional(Textdraw22, 0); TextDrawSetShadow(Textdraw22, 0); TextDrawUseBox(Textdraw22, 3); TextDrawBoxColor(Textdraw22, 255); TextDrawTextSize(Textdraw22, -4.000000, -26.000000); Textdraw23 = TextDrawCreate(644.000000, 300.000000, "_"); TextDrawBackgroundColor(Textdraw23, 255); TextDrawFont(Textdraw23, 0); TextDrawLetterSize(Textdraw23, 0.800000, 4.799996); TextDrawColor(Textdraw23, -1); TextDrawSetOutline(Textdraw23, 0); TextDrawSetProportional(Textdraw23, 0); TextDrawSetShadow(Textdraw23, 0); TextDrawUseBox(Textdraw23, 3); TextDrawBoxColor(Textdraw23, 255); TextDrawTextSize(Textdraw23, -4.000000, -26.000000); Textdraw23 = TextDrawCreate(644.000000, 320.000000, "_"); TextDrawBackgroundColor(Textdraw23, 255); TextDrawFont(Textdraw23, 0); TextDrawLetterSize(Textdraw23, 0.800000, 4.799996); TextDrawColor(Textdraw23, -1); TextDrawSetOutline(Textdraw23, 0); TextDrawSetProportional(Textdraw23, 0); TextDrawSetShadow(Textdraw23, 0); TextDrawUseBox(Textdraw23, 3); TextDrawBoxColor(Textdraw23, 255); TextDrawTextSize(Textdraw23, -4.000000, -26.000000); /* IMAGEMENTRADA = TextDrawCreate(0.000000, 1.000000, "loadsc13:loadsc13"); TextDrawBackgroundColor(IMAGEMENTRADA, 255); TextDrawFont(IMAGEMENTRADA, 4); TextDrawLetterSize(IMAGEMENTRADA, 0.759999, 1.000000); TextDrawColor(IMAGEMENTRADA, -1); TextDrawSetOutline(IMAGEMENTRADA, 0); TextDrawSetProportional(IMAGEMENTRADA, 1); TextDrawSetShadow(IMAGEMENTRADA, 1); TextDrawUseBox(IMAGEMENTRADA, 1); TextDrawBoxColor(IMAGEMENTRADA, 255); TextDrawTextSize(IMAGEMENTRADA, 639.000000, 448.000000); */ IMAGEMENTRADA = TextDrawCreate(0.000000, 1.000000, "loadsc9:loadsc9"); TextDrawBackgroundColor(IMAGEMENTRADA, 255); TextDrawFont(IMAGEMENTRADA, 4); TextDrawLetterSize(IMAGEMENTRADA, 0.759999, 1.000000); TextDrawColor(IMAGEMENTRADA, 0x001021FF); TextDrawSetOutline(IMAGEMENTRADA, 0); TextDrawSetProportional(IMAGEMENTRADA, 1); TextDrawSetShadow(IMAGEMENTRADA, 1); TextDrawUseBox(IMAGEMENTRADA, 1); TextDrawBoxColor(IMAGEMENTRADA, -1); TextDrawTextSize(IMAGEMENTRADA, 639.000000, 448.000000); TEXTLOGO = TextDrawCreate(040.399658, 005.359985, "Brasil Play Perfect"); TextDrawBackgroundColor(TEXTLOGO, 255); TextDrawFont(TEXTLOGO, 0); TextDrawLetterSize(TEXTLOGO, 0.895999, 8.047996); TextDrawColor(TEXTLOGO, BRANCO); TextDrawSetOutline(TEXTLOGO, 0); TextDrawSetProportional(TEXTLOGO, 1); TextDrawSetShadow(TEXTLOGO, 1); SOBREOSERVER = TextDrawCreate(040.999984, 185.919967, "Brasil PlayPerfect"); TextDrawBackgroundColor(SOBREOSERVER, 255); TextDrawFont(SOBREOSERVER, 0); TextDrawLetterSize(SOBREOSERVER, 0.495999, 1.637333); TextDrawColor(SOBREOSERVER, BRANCO); TextDrawSetOutline(SOBREOSERVER, 0); TextDrawSetProportional(SOBREOSERVER, 1); TextDrawSetShadow(SOBREOSERVER, 1); MENSAGEMENTRADA = TextDrawCreate(29.999984, 215.919967, "O Servidor Brasil Play Perfect e um servidor RPG, Temos varios sistema baseados em vida real."); TextDrawBackgroundColor(MENSAGEMENTRADA, 255); TextDrawFont(MENSAGEMENTRADA, 1); TextDrawLetterSize(MENSAGEMENTRADA, 0.254799, 1.025066); TextDrawColor(MENSAGEMENTRADA, -1); TextDrawSetOutline(MENSAGEMENTRADA, 0); TextDrawSetProportional(MENSAGEMENTRADA, 1); TextDrawSetShadow(MENSAGEMENTRADA, 1); MENSAGEMENTRADA2 = TextDrawCreate(29.999984, 228.919967, "Nao e facil ganhar dinheiro e nivel no servidor mais fique tranquilo, voces iram adquirir com tempo!"); TextDrawBackgroundColor(MENSAGEMENTRADA2, 255); TextDrawFont(MENSAGEMENTRADA2, 1); TextDrawLetterSize(MENSAGEMENTRADA2, 0.254799, 1.025066); TextDrawColor(MENSAGEMENTRADA2, -1); TextDrawSetOutline(MENSAGEMENTRADA2, 0); TextDrawSetProportional(MENSAGEMENTRADA2, 1); TextDrawSetShadow(MENSAGEMENTRADA2, 1); MENSAGEMENTRADA3 = TextDrawCreate(29.999984, 241.919967, "Temos varios tipos de organizacoes, COP(Policiais) , Gang , Mafias e Terroristas!"); TextDrawBackgroundColor(MENSAGEMENTRADA3, 255); TextDrawFont(MENSAGEMENTRADA3, 1); TextDrawLetterSize(MENSAGEMENTRADA3, 0.254799, 1.025066); TextDrawColor(MENSAGEMENTRADA3, -1); TextDrawSetOutline(MENSAGEMENTRADA3, 0); TextDrawSetProportional(MENSAGEMENTRADA3, 1); TextDrawSetShadow(MENSAGEMENTRADA3, 1); MENSAGEMENTRADA4 = TextDrawCreate(29.999984, 254.919967, "Sejam todos bem vindo ao nosso servidor Brasil Play Perfect!"); TextDrawBackgroundColor(MENSAGEMENTRADA4, 255); TextDrawFont(MENSAGEMENTRADA4, 1); TextDrawLetterSize(MENSAGEMENTRADA4, 0.254799, 1.025066); TextDrawColor(MENSAGEMENTRADA4, -1); TextDrawSetOutline(MENSAGEMENTRADA4, 0); TextDrawSetProportional(MENSAGEMENTRADA4, 1); TextDrawSetShadow(MENSAGEMENTRADA4, 1); MENSAGEMENTRADA5 = TextDrawCreate(29.999984, 267.919982, "Obrigado pela preferencia !!"); TextDrawBackgroundColor(MENSAGEMENTRADA5, 255); TextDrawFont(MENSAGEMENTRADA5, 1); TextDrawLetterSize(MENSAGEMENTRADA5, 0.254799, 1.025066); TextDrawColor(MENSAGEMENTRADA5, -1); TextDrawSetOutline(MENSAGEMENTRADA5, 0); TextDrawSetProportional(MENSAGEMENTRADA5, 1); TextDrawSetShadow(MENSAGEMENTRADA5, 1); MENSAGEMLOGO = TextDrawCreate(406.599975, 424.626678, "Seja muito bem vindo ao nosso servidor !"); TextDrawBackgroundColor(MENSAGEMLOGO, 255); TextDrawFont(MENSAGEMLOGO, 2); TextDrawLetterSize(MENSAGEMLOGO, 0.186798, 0.875732); TextDrawColor(MENSAGEMLOGO, -1); TextDrawSetOutline(MENSAGEMLOGO, 0); TextDrawSetProportional(MENSAGEMLOGO, 1); TextDrawSetShadow(MENSAGEMLOGO, 1); TextDrawUseBox(MENSAGEMLOGO, 1); TextDrawBoxColor(MENSAGEMLOGO, 16776992); TextDrawTextSize(MENSAGEMLOGO, 620.000000, 0.000000); return 1; } public OnFilterScriptExit() { TextDrawHideForAll(Textdraw0); TextDrawDestroy(Textdraw0); TextDrawHideForAll(Textdraw1); TextDrawDestroy(Textdraw1); TextDrawHideForAll(Textdraw2); TextDrawDestroy(Textdraw2); TextDrawHideForAll(Textdraw3); TextDrawDestroy(Textdraw3); TextDrawHideForAll(Textdraw4); TextDrawDestroy(Textdraw4); TextDrawHideForAll(Textdraw5); TextDrawDestroy(Textdraw5); TextDrawHideForAll(Textdraw6); TextDrawDestroy(Textdraw6); TextDrawHideForAll(Textdraw7); TextDrawDestroy(Textdraw7); TextDrawHideForAll(Textdraw8); TextDrawDestroy(Textdraw8); TextDrawHideForAll(Textdraw9); TextDrawDestroy(Textdraw9); TextDrawHideForAll(Textdraw10); TextDrawDestroy(Textdraw10); TextDrawHideForAll(Textdraw11); TextDrawDestroy(Textdraw11); TextDrawHideForAll(Textdraw12); TextDrawDestroy(Textdraw12); TextDrawHideForAll(Textdraw13); TextDrawDestroy(Textdraw13); TextDrawHideForAll(Textdraw14); TextDrawDestroy(Textdraw14); TextDrawHideForAll(Textdraw15); TextDrawDestroy(Textdraw15); TextDrawHideForAll(Textdraw16); TextDrawDestroy(Textdraw16); TextDrawHideForAll(Textdraw17); TextDrawDestroy(Textdraw17); TextDrawHideForAll(Textdraw18); TextDrawDestroy(Textdraw18); TextDrawHideForAll(Textdraw19); TextDrawDestroy(Textdraw19); TextDrawHideForAll(Textdraw20); TextDrawDestroy(Textdraw20); TextDrawHideForAll(Textdraw21); TextDrawDestroy(Textdraw21); TextDrawHideForAll(Textdraw22); TextDrawDestroy(Textdraw22); TextDrawHideForAll(Textdraw23); TextDrawDestroy(Textdraw23); TextDrawHideForAll(IMAGEMENTRADA); TextDrawDestroy(IMAGEMENTRADA); TextDrawHideForAll(Textdraw25); TextDrawDestroy(Textdraw25); return 1; } public OnPlayerRequestClass(playerid, classid) { TextDrawShowForPlayer(playerid, Textdraw0); TextDrawShowForPlayer(playerid, Textdraw1); TextDrawShowForPlayer(playerid, Textdraw2); TextDrawShowForPlayer(playerid, Textdraw3); TextDrawShowForPlayer(playerid, Textdraw4); TextDrawShowForPlayer(playerid, Textdraw5); TextDrawShowForPlayer(playerid, Textdraw6); TextDrawShowForPlayer(playerid, Textdraw7); TextDrawShowForPlayer(playerid, Textdraw8); TextDrawShowForPlayer(playerid, Textdraw9); TextDrawShowForPlayer(playerid, Textdraw10); TextDrawShowForPlayer(playerid, Textdraw11); TextDrawShowForPlayer(playerid, Textdraw12); TextDrawShowForPlayer(playerid, Textdraw13); TextDrawShowForPlayer(playerid, Textdraw14); TextDrawShowForPlayer(playerid, Textdraw15); TextDrawShowForPlayer(playerid, Textdraw16); TextDrawShowForPlayer(playerid, Textdraw17); TextDrawShowForPlayer(playerid, Textdraw18); TextDrawShowForPlayer(playerid, Textdraw19); TextDrawShowForPlayer(playerid, Textdraw20); TextDrawShowForPlayer(playerid, Textdraw21); TextDrawShowForPlayer(playerid, Textdraw22); TextDrawShowForPlayer(playerid, Textdraw23); TextDrawShowForPlayer(playerid, IMAGEMENTRADA); TextDrawShowForPlayer(playerid, Textdraw25); TextDrawShowForPlayer(playerid, SOBREOSERVER); TextDrawShowForPlayer(playerid, MENSAGEMENTRADA); TextDrawShowForPlayer(playerid, MENSAGEMENTRADA2); TextDrawShowForPlayer(playerid, MENSAGEMENTRADA3); TextDrawShowForPlayer(playerid, MENSAGEMENTRADA4); TextDrawShowForPlayer(playerid, MENSAGEMENTRADA5); TextDrawShowForPlayer(playerid, MENSAGEMLOGO); TextDrawShowForPlayer(playerid, TEXTLOGO); return 1; } public OnPlayerSpawn(playerid) { TextDrawHideForPlayer(playerid, Textdraw0); TextDrawHideForPlayer(playerid, Textdraw1); TextDrawHideForPlayer(playerid, Textdraw2); TextDrawHideForPlayer(playerid, Textdraw3); TextDrawHideForPlayer(playerid, Textdraw4); TextDrawHideForPlayer(playerid, Textdraw5); TextDrawHideForPlayer(playerid, Textdraw6); TextDrawHideForPlayer(playerid, Textdraw7); TextDrawHideForPlayer(playerid, Textdraw8); TextDrawHideForPlayer(playerid, Textdraw9); TextDrawHideForPlayer(playerid, Textdraw10); TextDrawHideForPlayer(playerid, Textdraw11); TextDrawHideForPlayer(playerid, Textdraw12); TextDrawHideForPlayer(playerid, Textdraw13); TextDrawHideForPlayer(playerid, Textdraw14); TextDrawHideForPlayer(playerid, Textdraw15); TextDrawHideForPlayer(playerid, Textdraw16); TextDrawHideForPlayer(playerid, Textdraw17); TextDrawHideForPlayer(playerid, Textdraw18); TextDrawHideForPlayer(playerid, Textdraw19); TextDrawHideForPlayer(playerid, Textdraw20); TextDrawHideForPlayer(playerid, Textdraw21); TextDrawHideForPlayer(playerid, Textdraw22); TextDrawHideForPlayer(playerid, Textdraw23); TextDrawHideForPlayer(playerid, IMAGEMENTRADA); TextDrawHideForPlayer(playerid, Textdraw25); TextDrawHideForPlayer(playerid, SOBREOSERVER); TextDrawHideForPlayer(playerid, MENSAGEMENTRADA); TextDrawHideForPlayer(playerid, MENSAGEMENTRADA2); TextDrawHideForPlayer(playerid, MENSAGEMENTRADA3); TextDrawHideForPlayer(playerid, MENSAGEMENTRADA4); TextDrawHideForPlayer(playerid, MENSAGEMENTRADA5); TextDrawHideForPlayer(playerid, MENSAGEMLOGO); TextDrawHideForPlayer(playerid, TEXTLOGO); return 1; }