Textdraw not working [Rep]
#2

OnGameModeInit that goes, see if it works for you

pawn Код:
new Text:Textdraw1[MAX_PLAYERS];

new Text:LoginDraw1[MAX_PLAYERS];
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
    TextDrawShowForPlayer(i, LoginDraw1); // that can not be this O.o
    LoginDraw1[i] = TextDrawCreate(660.125000, 459.416717, "usebox");
    TextDrawLetterSize(LoginDraw1[i], 0.000000, -13.643054);
    TextDrawTextSize(LoginDraw1[i],  -3.875000, 0.000000);
    TextDrawAlignment(LoginDraw1[i], 1);
    TextDrawColor(LoginDraw1[i], 0);
    TextDrawUseBox(LoginDraw1[i], true);
    TextDrawBoxColor(LoginDraw1[i], 180);
    TextDrawSetShadow(LoginDraw1[i], 0);
    TextDrawSetOutline(LoginDraw1[i], 0);
    TextDrawBackgroundColor(LoginDraw1[i], -2139062017);
    TextDrawFont(LoginDraw1[i], 0);

    TextDrawShowForPlayer(i, Textdraw1); // that can not be this O.o
    Textdraw1[i] = TextDrawCreate(86.875000, 347.666503, "Exclusive Gaming v3.0");
    TextDrawLetterSize(Textdraw1[i], 0.926875, 3.513334);
    TextDrawAlignment(Textdraw1[i], 1);
    TextDrawColor(Textdraw1[i], 16777215);
    TextDrawSetShadow(Textdraw1[i], 0);
    TextDrawSetOutline(Textdraw1[i], 1);
    TextDrawBackgroundColor(Textdraw1[i], 51);
    TextDrawFont(Textdraw1[i], 2);
    TextDrawSetProportional(Textdraw1[i], 1);
}
EDIT: OnPlayerConnect this goes for the player to connect textdraw see below and in OnPlayerSpawn so that you are clear the TextDraw to reappear

pawn Код:
TextDrawShowForPlayer(playerid, Textdraw1[i]);
TextDrawShowForPlayer(playerid, LoginDraw1[i]);
in OnPlayerSpawn

pawn Код:
TextDrawHideForPlayer(playerid, Textdraw1[i]);
TextDrawHideForPlayer(playerid, LoginDraw1[i]);
Reply


Messages In This Thread
Textdraw not working [Rep] - by Josh_Main - 07.10.2014, 03:29
Respuesta: Textdraw not working [Rep] - by !R1Ch@rD! - 07.10.2014, 03:44
Re: Respuesta: Textdraw not working [Rep] - by Josh_Main - 07.10.2014, 03:50
Respuesta: Re: Respuesta: Textdraw not working [Rep] - by !R1Ch@rD! - 07.10.2014, 03:53
Re: Respuesta: Re: Respuesta: Textdraw not working [Rep] - by Josh_Main - 07.10.2014, 04:00
Respuesta: Re: Respuesta: Re: Respuesta: Textdraw not working [Rep] - by !R1Ch@rD! - 07.10.2014, 04:03
Re: Textdraw not working [Rep] - by Josh_Main - 07.10.2014, 04:06
Respuesta: Textdraw not working [Rep] - by !R1Ch@rD! - 07.10.2014, 04:12
Re: Textdraw not working [Rep] - by Pottus - 07.10.2014, 04:13
Re: Textdraw not working [Rep] - by XGreen - 07.10.2014, 04:21

Forum Jump:


Users browsing this thread: 1 Guest(s)