[Ajuda] Bug estranho
#2

pawn Код:
new Text:Textdraw0[MAX_PLAYERS];
public OnGameModeInit()
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
    Textdraw0[i] = TextDrawCreate(39.000000, 285.000000, "--");//text draw do veiculo
    TextDrawBackgroundColor(Textdraw0[i], 255);
    TextDrawFont(Textdraw0[i], 3);
    TextDrawLetterSize(Textdraw0[i], 0.500000, 1.000000);
    TextDrawColor(Textdraw0[i], 16711935);
    TextDrawSetOutline(Textdraw0[i], 1);
    TextDrawSetProportional(Textdraw0[i], 1);
    TextDrawTextSize(Textdraw0[i], 187.000000, 549.000000);

    //continue o resto...
    }
e troque todos os:
TextDrawHideForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw0);

por:
TextDrawHideForPlayer(playerid, Textdraw0[playerid]);
TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
Reply


Messages In This Thread
Bug estranho - by Bruno Alves - 11.05.2014, 02:52
Re: Bug estranho - by DoN_ReNaTo - 11.05.2014, 03:07
Re: Bug estranho - by Bruno Alves - 11.05.2014, 03:12
Re: Bug estranho - by MultiKill - 11.05.2014, 03:42
Re: Bug estranho - by DoN_ReNaTo - 11.05.2014, 03:52
Re: Bug estranho - by MultiKill - 11.05.2014, 03:59
Re: Bug estranho - by @Riichard - 11.05.2014, 04:03
Re: Bug estranho - by Bruno Alves - 11.05.2014, 04:09
Re: Bug estranho - by DoN_ReNaTo - 11.05.2014, 04:34

Forum Jump:


Users browsing this thread: 1 Guest(s)