Textdraw not working [Rep]
#8

top of your gamemode

pawn Код:
new Text:LoginTextDraw[MAX_PLAYERS];
   new Text:LoginTextDraw2[MAX_PLAYERS];
under OnGameModeInit

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
    {
     // TextDrawShowForPlayer(i, LoginTextDraw); // this goes under onplayerconnect
        LoginTextDraw[i] = TextDrawCreate(660.125000, 459.416717, "usebox");
        TextDrawLetterSize(LoginTextDraw[i], 0.000000, -13.643054);
        TextDrawTextSize(LoginTextDraw[i], -3.875000, 0.000000);
        TextDrawAlignment(LoginTextDraw[i], 1);
        TextDrawColor(LoginTextDraw[i], 0);
        TextDrawUseBox(LoginTextDraw[i], true);
        TextDrawBoxColor(LoginTextDraw[i], 180);
        TextDrawSetShadow(LoginTextDraw[i], 0);
        TextDrawSetOutline(LoginTextDraw[i], 0);
        TextDrawBackgroundColor(LoginTextDraw[i], -2139062017);
        TextDrawFont(LoginTextDraw[i], 0);

     // TextDrawShowForPlayer(i, LoginTextDraw2); // this goes under onplayerconnect
        LoginTextDraw2[i] = TextDrawCreate(86.875000, 347.666503, "Exclusive Gaming v3.0");
        TextDrawLetterSize(LoginTextDraw2[i], 0.926875, 3.513334);
        TextDrawAlignment(LoginTextDraw2[i], 1);
        TextDrawColor(LoginTextDraw2[i], 16777215);
        TextDrawSetShadow(LoginTextDraw2[i], 0);
        TextDrawSetOutline(LoginTextDraw2[i], 1);
        TextDrawBackgroundColor(LoginTextDraw2[i], 51);
        TextDrawFont(LoginTextDraw2[i], 2);
        TextDrawSetProportional(LoginTextDraw2[i], 1);
    }
under OnPlayerConnect

pawn Код:
TextDrawShowForPlayer(playerid, LoginTextDraw[i]);
    TextDrawShowForPlayer(playerid, LoginTextDraw2[i]);
unde OnPlayerSpawn
pawn Код:
TextDrawHideForPlayer(playerid, LoginTextDraw[i]);
   TextDrawHideForPlayer(playerid, LoginTextDraw2[i]);

you should copilar perfect friend

TextDrawShowForPlayer about but that will not look here

https://sampwiki.blast.hk/wiki/TextDrawShowForPlayer
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: 3 Guest(s)