25.02.2016, 21:28
hola, tengo un gm y un fs cuyos textdraws son problematicos el fs crea un textdraw en una posicion distinta y al entrar al juego aparece pegado con el otro cosa que no deberia pasar... Si alguien me podria dar una solucion... Gracias
FS TEXTDRAWS:
GM TEXTDRAW
FS TEXTDRAWS:
Код HTML:
public OnPlayerConnect(playerid) { Speed[playerid] = TextDrawCreate(5464.000000, 419.000000, "---"); TextDrawAlignment(Speed[playerid], 2); TextDrawBackgroundColor(Speed[playerid], 255); TextDrawFont(Speed[playerid], 3); TextDrawLetterSize(Speed[playerid], 0.600000, 2.000000); TextDrawColor(Speed[playerid], 1); TextDrawSetOutline(Speed[playerid], 2); TextDrawSetProportional(Speed[playerid], 1); TextDrawUseBox(Speed[playerid], 1); TextDrawBoxColor(Speed[playerid], -869072784); TextDrawTextSize(Speed[playerid], 0.000000, -56.000000); Gear[playerid] = TextDrawCreate(7332.00000, 3789.000000, " "); TextDrawAlignment(Gear[playerid], 2); TextDrawBackgroundColor(Gear[playerid], 255); TextDrawFont(Gear[playerid], 3); TextDrawLetterSize(Gear[playerid], 0.699999, 4.000000); TextDrawColor(Gear[playerid], 1); TextDrawSetOutline(Gear[playerid], 2); TextDrawSetProportional(Gear[playerid], 1); Gear1[playerid] = TextDrawCreate(560.000000, 379.000000, " "); TextDrawAlignment(Gear1[playerid], 2); TextDrawBackgroundColor(Gear1[playerid], 255); TextDrawFont(Gear1[playerid], 3); TextDrawLetterSize(Gear1[playerid], 0.699999, 4.000000); TextDrawColor(Gear1[playerid], 2); TextDrawSetOutline(Gear1[playerid], 2); TextDrawSetProportional(Gear1[playerid], 1); return 1; }
Код HTML:
public OnGameModeInit() { Textdraw1= TextDrawCreate(489.000000, 98.000000, "~g~CrazyLandia"); TextDrawBackgroundColor(Textdraw1, 250); TextDrawFont(Textdraw1, 3); TextDrawLetterSize(Textdraw1, 0.330000, 1.800000); TextDrawColor(Textdraw1, -1); TextDrawSetOutline(Textdraw1, 1); TextDrawSetProportional(Textdraw1, 1); SetTimer("ChangeWebsite",900,true);