Tag mismatch errors (CreatePlayerTextDraw) -
rangerxxll - 07.05.2014
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;
}
Re: Tag mismatch errors (CreatePlayerTextDraw) -
Eth - 07.05.2014
show me the warnings please.
Re: Tag mismatch errors (CreatePlayerTextDraw) -
rangerxxll - 07.05.2014
Код:
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(363) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(364) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(365) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(366) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(367) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(368) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(369) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(370) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(371) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(374) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(375) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(376) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(377) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(378) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(379) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(380) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(381) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(382) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(384) : warning 213: tag mismatch
C:\Users\Luke\Desktop\A-CNR\gamemodes\A-CnR.pwn(385) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
20 Warnings.
Re: Tag mismatch errors (CreatePlayerTextDraw) -
Eth - 07.05.2014
warnings lines i mean , sorry.
Re: Tag mismatch errors (CreatePlayerTextDraw) -
Eth - 07.05.2014
and make sure you have :
new Text:TD_BANK[MAX_PLAYERS];
new Text:TD_CASH[MAX_PLAYERS];
instead of
new TD_CASH[MAX_PLAYERS];
new TD_BANK[MAX_PLAYERS];
Re: Tag mismatch errors (CreatePlayerTextDraw) -
rangerxxll - 07.05.2014
The warnings are on every single function in the stock and yes - it's exactly like that.