warning 213: tag mismatch
#1

I get this warning:
PHP код:
gamemodes\gm.pwn(12815) : warning 213tag mismatch
gamemodes
\gm.pwn(12816) : warning 213tag mismatch
gamemodes
\gm.pwn(12817) : warning 213tag mismatch
gamemodes
\gm.pwn(12819) : warning 213tag mismatch
gamemodes
\gm.pwn(12820) : warning 213tag mismatch
gamemodes
\gm.pwn(12821) : warning 213tag mismatch
gamemodes
\gm.pwn(12822) : warning 213tag mismatch
gamemodes
\gm.pwn(12823) : warning 213tag mismatch
gamemodes
\gm.pwn(12824) : warning 213tag mismatch
gamemodes
\gm.pwn(12825) : warning 213tag mismatch
gamemodes
\gm.pwn(12826) : warning 213tag mismatch
gamemodes
\gm.pwn(12827) : warning 213tag mismatch
gamemodes
\gm.pwn(12829) : warning 213tag mismatch
gamemodes
\gm.pwn(12830) : warning 213tag mismatch
gamemodes
\gm.pwn(12831) : warning 213tag mismatch
gamemodes
\gm.pwn(12832) : warning 213tag mismatch
gamemodes
\gm.pwn(12833) : warning 213tag mismatch
gamemodes
\gm.pwn(12834) : warning 213tag mismatch
gamemodes
\gm.pwn(12835) : warning 213tag mismatch
gamemodes
\gm.pwn(12836) : warning 213tag mismatch
gamemodes
\gm.pwn(12837) : warning 213tag mismatch
gamemodes
\gm.pwn(12838) : warning 213tag mismatch
gamemodes
\gm.pwn(12839) : warning 213tag mismatch
gamemodes
\gm.pwn(12841) : warning 213tag mismatch
gamemodes
\gm.pwn(12842) : warning 213tag mismatch
gamemodes
\gm.pwn(12843) : warning 213tag mismatch
gamemodes
\gm.pwn(12844) : warning 213tag mismatch
gamemodes
\gm.pwn(12845) : warning 213tag mismatch
gamemodes
\gm.pwn(12846) : warning 213tag mismatch
gamemodes
\gm.pwn(12847) : warning 213tag mismatch
gamemodes
\gm.pwn(12848) : warning 213tag mismatch
gamemodes
\gm.pwn(12849) : warning 213tag mismatch
gamemodes
\gm.pwn(12850) : warning 213tag mismatch 
and this is the code:
PHP код:
    TDEditor_PTD0[playerid] = CreatePlayerTextDraw(playerid130.000000196.416641"box");
    
PlayerTextDrawLetterSize(playeridTDEditor_PTD0[playerid], 0.0000005.375000);
    
PlayerTextDrawTextSize(playeridTDEditor_PTD0[playerid], 529.0000000.000000);
    
PlayerTextDrawAlignment(playeridTDEditor_PTD0[playerid], 1);
    
PlayerTextDrawColor(playeridTDEditor_PTD0[playerid], -1);
    
PlayerTextDrawUseBox(playeridTDEditor_PTD0[playerid], 1);
    
PlayerTextDrawBoxColor(playeridTDEditor_PTD0[playerid], -5963676);//100
    
PlayerTextDrawSetShadow(playeridTDEditor_PTD0[playerid], 0);
    
PlayerTextDrawSetOutline(playeridTDEditor_PTD0[playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridTDEditor_PTD0[playerid], 0);
    
PlayerTextDrawFont(playeridTDEditor_PTD0[playerid], 1);
    
PlayerTextDrawSetProportional(playeridTDEditor_PTD0[playerid], 1);
    
PlayerTextDrawSetShadow(playeridTDEditor_PTD0[playerid], 0);
    
TDEditor_PTD1[playerid] = CreatePlayerTextDraw(playerid178.125000200.499984"Bine_ai_venit_pe_Play-Arena_Roleplay_Gaming");
    
PlayerTextDrawLetterSize(playeridTDEditor_PTD1[playerid], 0.4000001.600000);
    
PlayerTextDrawAlignment(playeridTDEditor_PTD1[playerid], 1);
    
PlayerTextDrawColor(playeridTDEditor_PTD1[playerid], -1);
    
PlayerTextDrawSetShadow(playeridTDEditor_PTD1[playerid], 0);
    
PlayerTextDrawSetOutline(playeridTDEditor_PTD1[playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridTDEditor_PTD1[playerid], 255);
    
PlayerTextDrawFont(playeridTDEditor_PTD1[playerid], 1);
    
PlayerTextDrawSetProportional(playeridTDEditor_PTD1[playerid], 1);
    
PlayerTextDrawSetShadow(playeridTDEditor_PTD1[playerid], 0);
    
PlayerTextDrawSetSelectable(playeridTDEditor_PTD1[playerid], 1);
    
TDEditor_PTD2[playerid] = CreatePlayerTextDraw(playerid316.250000217.416687"Gabirel_Brooks");
    
PlayerTextDrawLetterSize(playeridTDEditor_PTD2[playerid], 0.4000001.600000);
    
PlayerTextDrawAlignment(playeridTDEditor_PTD2[playerid], 2);
    
PlayerTextDrawColor(playeridTDEditor_PTD2[playerid], -2147483393);
    
PlayerTextDrawSetShadow(playeridTDEditor_PTD2[playerid], 0);
    
PlayerTextDrawSetOutline(playeridTDEditor_PTD2[playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridTDEditor_PTD2[playerid], 255);
    
PlayerTextDrawFont(playeridTDEditor_PTD2[playerid], 1);
    
PlayerTextDrawSetProportional(playeridTDEditor_PTD2[playerid], 1);
    
PlayerTextDrawSetShadow(playeridTDEditor_PTD2[playerid], 0); 
Please help me i will rep you
Reply
#2

Did,u tried this https://sampwiki.blast.hk/wiki/TextDrawShowForPlayer
Edit:Just trying to help thou.
Reply
#3

add this at the top and tell me what it says

new Text:TDEditor_PTD0[MAX_PLAYERS];

Edit: oh and do it for the other ones

ex: new Text:TDEditor_PTD1[MAX_PLAYERS];
new Text:TDEditor_PTD2[MAX_PLAYERS];
new Text:TDEditor_PTD2[MAX_PLAYERS];

etc...
Reply
#4

Quote:
Originally Posted by Mikeydoo
Посмотреть сообщение
add this at the top and tell me what it says

new Text:TDEditor_PTD0[MAX_PLAYERS];
I added already

Quote:
Originally Posted by Phar
Посмотреть сообщение
Did,u tried this https://sampwiki.blast.hk/wiki/TextDrawShowForPlayer
Edit:Just trying to help thou.
Yes
Reply
#5

It compiles fine for me.. Is it under OnGameModeInit(); ?
Reply
#6

pawn Код:
new PlayerText:
Reply
#7

Quote:
Originally Posted by Mikeydoo
Посмотреть сообщение
It compiles fine for me.. Is it under OnGameModeInit(); ?
I added in OnPlayerConnect. Not in OnGameModeInit() because I have [playerid] man

Quote:
Originally Posted by Jefff
Посмотреть сообщение
pawn Код:
new PlayerText:
I added this
Reply
#8

Worked?
Reply
#9

It doesn't need "TEXT:", player textdraws need "PlayerText:" in front of the allocation of the variables.

PHP код:
new PlayerText:TDEditor_PTD0[playerid]; 
Same for the others.


EDIT: too late.
Reply
#10

Quote:
Originally Posted by Mikeydoo
Посмотреть сообщение
Worked?
No

Quote:
Originally Posted by AmigaBlizzard
Посмотреть сообщение
It doesn't need "TEXT:", player textdraws need "PlayerText:" in front of the allocation of the variables.

PHP код:
new PlayerText:TDEditor_PTD0[playerid]; 
Same for the others.


EDIT: too late.
I have this already..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)