19.12.2012, 20:45
Entгo, eu pus a textdraw no ongamemodeinit
Em onplayerConnect pra poder aparecer quando o cara logar(ava)
E em onplayerspawn pra poder desaparecer quando o cara efetuar o login
Alguem me ajuda a saber qual e o bug? kk abraзos e agradeзo desde ja.
pawn Код:
TarjaLogin = TextDrawCreate(660.000000, 129.000000, " ");
TextDrawBackgroundColor(TarjaLogin, 255);
TextDrawFont(TarjaLogin, 1);
TextDrawLetterSize(TarjaLogin, 0.500000, -18.100000);
TextDrawColor(TarjaLogin, -1);
TextDrawSetOutline(TarjaLogin, 0);
TextDrawSetProportional(TarjaLogin, 1);
TextDrawSetShadow(TarjaLogin, 1);
TextDrawUseBox(TarjaLogin, 1);
TextDrawBoxColor(TarjaLogin, 255);
TextDrawTextSize(TarjaLogin, -24.000000, 50.000000);
//==============================================================================
TarjaLogin2 = TextDrawCreate(660.000000, 453.000000, " ");
TextDrawBackgroundColor(TarjaLogin2, 255);
TextDrawFont(TarjaLogin2, 1);
TextDrawLetterSize(TarjaLogin2, 0.500000, -18.100000);
TextDrawColor(TarjaLogin2, -1);
TextDrawSetOutline(TarjaLogin2, 0);
TextDrawSetProportional(TarjaLogin2, 1);
TextDrawSetShadow(TarjaLogin2, 1);
TextDrawUseBox(TarjaLogin2, 1);
TextDrawBoxColor(TarjaLogin2, 255);
TextDrawTextSize(TarjaLogin2, -24.000000, 50.000000);
//==============================================================================
TextLogin = TextDrawCreate(201.000000, 86.000000, "Explosion Brasil");
TextDrawBackgroundColor(TextLogin, 255);
TextDrawFont(TextLogin, 1);
TextDrawLetterSize(TextLogin, 0.789999, 4.099998);
TextDrawColor(TextLogin, 65535);
TextDrawSetOutline(TextLogin, 0);
TextDrawSetProportional(TextLogin, 1);
TextDrawSetShadow(TextLogin, 1);
//==============================================================================
ExpLogin = TextDrawCreate(201.000000, 86.000000, "Explosion Brasil");
TextDrawBackgroundColor(ExpLogin, 255);
TextDrawFont(ExpLogin, 1);
TextDrawLetterSize(ExpLogin, 0.789999, 4.099998);
TextDrawColor(ExpLogin, 65535);
TextDrawSetOutline(ExpLogin, 0);
TextDrawSetProportional(ExpLogin, 1);
TextDrawSetShadow(ExpLogin, 1);
//==============================================================================
ExpLogin2 = TextDrawCreate(197.000000, 304.000000, "Servidor de faccoes");
TextDrawBackgroundColor(ExpLogin2, 255);
TextDrawFont(ExpLogin2, 1);
TextDrawLetterSize(ExpLogin2, 0.739999, 5.600000);
TextDrawColor(ExpLogin2, -1);
TextDrawSetOutline(ExpLogin2, 0);
TextDrawSetProportional(ExpLogin2, 1);
TextDrawSetShadow(ExpLogin2, 1);
//==============================================================================
ExpLogin3 = TextDrawCreate(387.000000, 340.000000, "l");
TextDrawBackgroundColor(ExpLogin3, 255);
TextDrawFont(ExpLogin3, 1);
TextDrawLetterSize(ExpLogin3, 0.480000, 1.600000);
TextDrawColor(ExpLogin3, -1);
TextDrawSetOutline(ExpLogin3, 0);
TextDrawSetProportional(ExpLogin3, 1);
TextDrawSetShadow(ExpLogin3, 1);
pawn Код:
TextDrawShowForPlayer(playerid, TarjaLogin);
TextDrawShowForPlayer(playerid, TarjaLogin2);
TextDrawShowForPlayer(playerid, TextLogin);
TextDrawShowForPlayer(playerid, ExpLogin);
TextDrawShowForPlayer(playerid, ExpLogin2);
TextDrawShowForPlayer(playerid, ExpLogin3);
pawn Код:
TextDrawDestroy( TarjaLogin);
TextDrawDestroy( TarjaLogin2);
TextDrawDestroy( TextLogin);
TextDrawDestroy( ExpLogin);
TextDrawDestroy( ExpLogin2);
TextDrawDestroy( ExpLogin3);