Tag mismatch errors (CreatePlayerTextDraw)
#1

I'm unsure of why I'm recieving these errors.



pawn Код:
stock UpdateBankTD(playerid)
{
    new tdcashstring[50];
    new bank = pInfo[playerid][pBankBalance];
    format(tdcashstring,sizeof(tdcashstring), "%d", bank);
    //"Bank: " td
    TD_BANK[playerid] =  CreatePlayerTextDraw(playerid,491.000000,126.000000,"Bank:");
    PlayerTextDrawAlignment(playerid,TD_BANK[playerid],0);
    PlayerTextDrawBackgroundColor(playerid,TD_BANK[playerid],0x000000ff);
    PlayerTextDrawFont(playerid,TD_BANK[playerid],3);
    PlayerTextDrawLetterSize(playerid,TD_BANK[playerid],1.000000,1.000000);
    PlayerTextDrawColor(playerid,TD_BANK[playerid],0x00ff0099);
    PlayerTextDrawSetOutline(playerid,TD_BANK[playerid],1);
    PlayerTextDrawSetShadow(playerid,TD_BANK[playerid],3);
    PlayerTextDrawSetShadow(playerid,TD_BANK[playerid],1);
   
    //Bank string (how much money)
    TD_CASH[playerid] = CreatePlayerTextDraw(playerid,593.000000,126.000000,tdcashstring);
    PlayerTextDrawAlignment(playerid,TD_CASH[playerid],0);
    PlayerTextDrawBackgroundColor(playerid,TD_CASH[playerid],0x000000ff);
    PlayerTextDrawFont(playerid,TD_CASH[playerid],3);
    PlayerTextDrawLetterSize(playerid,TD_CASH[playerid],0.499999,0.899999);
    PlayerTextDrawColor(playerid,TD_CASH[playerid],0xffffffff);
    PlayerTextDrawSetOutline(playerid,TD_CASH[playerid],1);
    PlayerTextDrawSetProportional(playerid,TD_CASH[playerid],1);
    PlayerTextDrawSetShadow(playerid,TD_CASH[playerid],1);
    //refreshing it.
    PlayerTextDrawHide(playerid, TD_CASH[playerid]);
    PlayerTextDrawShow(playerid, TD_CASH[playerid]);
    return 1;
}
Reply


Messages In This Thread
Tag mismatch errors (CreatePlayerTextDraw) - by rangerxxll - 07.05.2014, 05:38
Re: Tag mismatch errors (CreatePlayerTextDraw) - by Eth - 07.05.2014, 06:51
Re: Tag mismatch errors (CreatePlayerTextDraw) - by rangerxxll - 07.05.2014, 06:52
Re: Tag mismatch errors (CreatePlayerTextDraw) - by Eth - 07.05.2014, 06:53
Re: Tag mismatch errors (CreatePlayerTextDraw) - by Eth - 07.05.2014, 06:57
Re: Tag mismatch errors (CreatePlayerTextDraw) - by rangerxxll - 07.05.2014, 07:04

Forum Jump:


Users browsing this thread: 1 Guest(s)