help for tag mismatch
#1

Warning! help i wont to create side money with textdraw setstring..
(331 : warning 213: tag mismatch
(3324) : warning 213: tag mismatch
(3325) : warning 213: tag mismatch
(3326) : warning 213: tag mismatch
(3327) : warning 213: tag mismatch
(332 : warning 213: tag mismatch
(3329) : warning 213: tag mismatch
(3330) : warning 213: tag mismatch
(3331) : warning 213: tag mismatch
(3332) : warning 213: tag mismatch
(3334) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


11 Warnings.

PHP код:
       new strcash[128];
    
format(strcashsizeof(strcash), "%08d"PlayerInfo[playerid][aCash]);
    
PlayerTextDrawSetString(playeridCash[playerid], strcash);//3318 
PHP код:
      Cash[playerid] = CreatePlayerTextDraw(playerid,547.000000105.000000"00000000");//3324
    
PlayerTextDrawBackgroundColor(playerid,Cash[playerid], 255);//3325
    
PlayerTextDrawFont(playerid,Cash[playerid], 1);//3326
    
PlayerTextDrawLetterSize(playerid,Cash[playerid], 0.4400001.400000);//3327
    
PlayerTextDrawColor(playerid,Cash[playerid], -1);/3328
    PlayerTextDrawSetOutline
(playerid,Cash[playerid], 0);//3329
    
PlayerTextDrawSetProportional(playerid,Cash[playerid], 1);//3330
    
PlayerTextDrawSetShadow(playerid,Cash[playerid], 1);//3331
    
PlayerTextDrawSetSelectable(playerid,Cash[playerid], 0);//3332
    
PlayerTextDrawShow(playeridCash[playerid]);//3334 
Reply
#2

did you do like this?
pawn Код:
new Text:Cash[MAX_PLAYERS];
Reply
#3

Quote:
Originally Posted by UltraScripter
Посмотреть сообщение
did you do like this?
pawn Код:
new Text:Cash[MAX_PLAYERS];
No i do this

pawn Код:
new PlayerText:Cash[MAX_PLAYERS];
Reply
#4

are you sure cuz it should work
i just test it
Reply
#5

Oh its work , i missed this
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
    {
    Cash[i] = CreatePlayerTextDraw(i,547.000000, 105.000000, "0");
    PlayerTextDrawBackgroundColor(i,Cash[i], 255);
    PlayerTextDrawFont(i,Cash[i], 1);
    PlayerTextDrawLetterSize(i,Cash[i], 0.440000, 1.400000);
    PlayerTextDrawColor(i,Cash[i], -1);
    PlayerTextDrawSetOutline(i,Cash[i], 1);
    PlayerTextDrawSetProportional(i,Cash[i], 1);
    PlayerTextDrawSetSelectable(i,Cash[i], 0);
    }
Thanks for you help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)