Tag mismatch -
absolute - 08.03.2013
hey everyone . any one knows whats the matter?
i get tag mismatch error for every line of this
pawn Код:
//at the top of the script:
new pbar[MAX_PLAYERS];
new PlayerText:Textdraw0[MAX_PLAYERS];
new PlayerText:Textdraw1[MAX_PLAYERS];
new PlayerText:Textdraw2[MAX_PLAYERS];
new PlayerText:Textdraw3[MAX_PLAYERS];
//OnGameModeInIt
for(new i = 0; i < MAX_PLAYERS; i++)
{
Textdraw0[i] = CreatePlayerTextDraw(i, 517.500000, 409.180023, "usebox");
PlayerTextDrawLetterSize(i, Textdraw0[i], 0.000000, 2.358887);
PlayerTextDrawTextSize(i, Textdraw0[i], 628.000000, 0.000000);
PlayerTextDrawAlignment(i, Textdraw0[i], 1);
PlayerTextDrawColor(i, Textdraw0[i], -1061109505);
PlayerTextDrawUseBox(i, Textdraw0[i], true);
PlayerTextDrawBoxColor(i, Textdraw0[i], 102);
PlayerTextDrawSetShadow(i, Textdraw0[i], 0);
PlayerTextDrawSetOutline(i, Textdraw0[i], 0);
PlayerTextDrawFont(i, Textdraw0[i], 0);
Textdraw1[i] = CreatePlayerTextDraw(i, 628.500000, 426.539947, "usebox");
PlayerTextDrawLetterSize(i, Textdraw1[i], 0.000000, -0.005556);
PlayerTextDrawTextSize(i, Textdraw1[i], 516.500000, 0.000000);
PlayerTextDrawAlignment(i, Textdraw1[i], 1);
PlayerTextDrawColor(i, Textdraw1[i], 0);
PlayerTextDrawUseBox(i, Textdraw1[i], true);
PlayerTextDrawBoxColor(i, Textdraw1[i], -240);
PlayerTextDrawSetShadow(i, Textdraw1[i], 0);
PlayerTextDrawSetOutline(i, Textdraw1[i], 0);
PlayerTextDrawFont(i, Textdraw1[i], 0);
Textdraw2[i] = CreatePlayerTextDraw(i, 628.000000, 427.099914, "usebox");
PlayerTextDrawLetterSize(i, Textdraw2[i], 0.000000, -0.100000);
PlayerTextDrawTextSize(i, Textdraw2[i], 517.000000, 0.000000);
PlayerTextDrawAlignment(i, Textdraw2[i], 1);
PlayerTextDrawColor(i, Textdraw2[i], 0);
PlayerTextDrawUseBox(i, Textdraw2[i], true);
PlayerTextDrawBoxColor(i, Textdraw2[i], 145728848);
PlayerTextDrawSetShadow(i, Textdraw2[i], 62);
PlayerTextDrawSetOutline(i, Textdraw2[i], 0);
PlayerTextDrawFont(i, Textdraw2[i], 0);
PlayerTextDrawSetProportional(i, Textdraw2[i], 1);
Textdraw3[i] = CreatePlayerTextDraw(i, 554.500000, 406.559906, "Noob");
PlayerTextDrawLetterSize(i, Textdraw3[i], 0.449999, 1.600000);
PlayerTextDrawAlignment(i, Textdraw3[i], 1);
PlayerTextDrawColor(i, Textdraw3[i], -1061109505);
PlayerTextDrawSetShadow(i, Textdraw3[i], 0);
PlayerTextDrawSetOutline(i, Textdraw3[i], 1);
PlayerTextDrawBackgroundColor(i, Textdraw3[i], 51);
PlayerTextDrawFont(i, Textdraw3[i], 0);
PlayerTextDrawSetProportional(i, Textdraw3[i], 1);
}
//OnPlayerSpawn
if(GetPlayerScore(playerid) <= 0)
{
TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
TextDrawShowForPlayer(playerid, Textdraw2[playerid]);
TextDrawShowForPlayer(playerid, Textdraw3[playerid]);
TextDrawTextSize(Textdraw2[playerid], 628.000000, 14.7);
pbar[playerid] = 0;
}
else if(GetPlayerScore(playerid) <= 100)
{
TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
TextDrawShowForPlayer(playerid, Textdraw2[playerid]);
TextDrawShowForPlayer(playerid, Textdraw3[playerid]);
TextDrawTextSize(Textdraw2[playerid], 628.000000, 29.4);
TextDrawSetString(Textdraw3[playerid], "Starter");
pbar[playerid] = 1;
}
else if(GetPlayerScore(playerid) <= 200)
{
TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
TextDrawShowForPlayer(playerid, Textdraw2[playerid]);
TextDrawShowForPlayer(playerid, Textdraw3[playerid]);
TextDrawTextSize(Textdraw2[playerid], 628.000000, 29.4);
TextDrawSetString(Textdraw3[playerid], "Starter");
pbar[playerid] = 2;
}
else if(GetPlayerScore(playerid) <= 300)
{
TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
TextDrawShowForPlayer(playerid, Textdraw2[playerid]);
TextDrawShowForPlayer(playerid, Textdraw3[playerid]);
TextDrawTextSize(Textdraw2[playerid], 628.000000, 44.1);
TextDrawSetString(Textdraw3[playerid], "Normal");
pbar[playerid] = 3;
}
else if(GetPlayerScore(playerid) <= 400)
{
TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
TextDrawShowForPlayer(playerid, Textdraw2[playerid]);
TextDrawShowForPlayer(playerid, Textdraw3[playerid]);
TextDrawTextSize(Textdraw2[playerid], 628.000000, 44.1);
TextDrawSetString(Textdraw3[playerid], "Normal");
pbar[playerid] = 4;
}
else if(GetPlayerScore(playerid) <= 500)
{
TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
TextDrawShowForPlayer(playerid, Textdraw2[playerid]);
TextDrawShowForPlayer(playerid, Textdraw3[playerid]);
TextDrawTextSize(Textdraw2[playerid], 628.000000, 58.8);
TextDrawSetString(Textdraw3[playerid], "Pro");
pbar[playerid] = 5;
}
else if(GetPlayerScore(playerid) <= 600)
{
TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
TextDrawShowForPlayer(playerid, Textdraw2[playerid]);
TextDrawShowForPlayer(playerid, Textdraw3[playerid]);
TextDrawTextSize(Textdraw2[playerid], 628.000000, 58.8);
TextDrawSetString(Textdraw3[playerid], "Pro");
pbar[playerid] = 6;
}
else if(GetPlayerScore(playerid) <= 700)
{
TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
TextDrawShowForPlayer(playerid, Textdraw2[playerid]);
TextDrawShowForPlayer(playerid, Textdraw3[playerid]);
TextDrawTextSize(Textdraw2[playerid], 628.000000, 58.8);
TextDrawSetString(Textdraw3[playerid], "Pro");
pbar[playerid] = 7;
}
else if(GetPlayerScore(playerid) <= 800)
{
TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
TextDrawShowForPlayer(playerid, Textdraw2[playerid]);
TextDrawShowForPlayer(playerid, Textdraw3[playerid]);
TextDrawTextSize(Textdraw2[playerid], 628.000000, 58.8);
TextDrawSetString(Textdraw3[playerid], "Pro");
pbar[playerid] = 8;
}
else if(GetPlayerScore(playerid) <= 900)
{
TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
TextDrawShowForPlayer(playerid, Textdraw2[playerid]);
TextDrawShowForPlayer(playerid, Textdraw3[playerid]);
TextDrawTextSize(Textdraw2[playerid], 628.000000, 73.5);
TextDrawSetString(Textdraw3[playerid], "Regular");
pbar[playerid] = 9;
}
else if(GetPlayerScore(playerid) <= 1000)
{
TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
TextDrawShowForPlayer(playerid, Textdraw2[playerid]);
TextDrawShowForPlayer(playerid, Textdraw3[playerid]);
TextDrawSetString(Textdraw3[playerid], "Expert Regular");
TextDrawTextSize(Textdraw2[playerid], 628.000000, 427.099914);
pbar[playerid] = 10;
}
else
{
TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
TextDrawShowForPlayer(playerid, Textdraw2[playerid]);
TextDrawShowForPlayer(playerid, Textdraw3[playerid]);
TextDrawTextSize(Textdraw2[playerid], 628.000000, 427.099914);
TextDrawSetString(Textdraw3[playerid], "Expert Regular");
pbar[playerid] = 11;
}
could some body help ?
Re: Tag mismatch -
Threshold - 08.03.2013
This should work. Remember not to get TextDraws mixed up with PLAYER TextDraws.
Example: TextDrawSetString(Text, string[]) is considered PlayerTextDrawSetString(playerid, Text, string[]).
pawn Код:
//at the top of the script:
new pbar[MAX_PLAYERS];
new PlayerText:Textdraw0[MAX_PLAYERS];
new PlayerText:Textdraw1[MAX_PLAYERS];
new PlayerText:Textdraw2[MAX_PLAYERS];
new PlayerText:Textdraw3[MAX_PLAYERS];
//ongamemodeinit
for(new i = 0; i < MAX_PLAYERS; i++)
{
Textdraw0[i] = CreatePlayerTextDraw(i, 517.500000, 409.180023, "usebox");
PlayerTextDrawLetterSize(i, Textdraw0[i], 0.000000, 2.358887);
PlayerTextDrawTextSize(i, Textdraw0[i], 628.000000, 0.000000);
PlayerTextDrawAlignment(i, Textdraw0[i], 1);
PlayerTextDrawColor(i, Textdraw0[i], -1061109505);
PlayerTextDrawUseBox(i, Textdraw0[i], true);
PlayerTextDrawBoxColor(i, Textdraw0[i], 102);
PlayerTextDrawSetShadow(i, Textdraw0[i], 0);
PlayerTextDrawSetOutline(i, Textdraw0[i], 0);
PlayerTextDrawFont(i, Textdraw0[i], 0);
Textdraw1[i] = CreatePlayerTextDraw(i, 628.500000, 426.539947, "usebox");
PlayerTextDrawLetterSize(i, Textdraw1[i], 0.000000, -0.005556);
PlayerTextDrawTextSize(i, Textdraw1[i], 516.500000, 0.000000);
PlayerTextDrawAlignment(i, Textdraw1[i], 1);
PlayerTextDrawColor(i, Textdraw1[i], 0);
PlayerTextDrawUseBox(i, Textdraw1[i], true);
PlayerTextDrawBoxColor(i, Textdraw1[i], -240);
PlayerTextDrawSetShadow(i, Textdraw1[i], 0);
PlayerTextDrawSetOutline(i, Textdraw1[i], 0);
PlayerTextDrawFont(i, Textdraw1[i], 0);
Textdraw2[i] = CreatePlayerTextDraw(i, 628.000000, 427.099914, "usebox");
PlayerTextDrawLetterSize(i, Textdraw2[i], 0.000000, -0.100000);
PlayerTextDrawTextSize(i, Textdraw2[i], 517.000000, 0.000000);
PlayerTextDrawAlignment(i, Textdraw2[i], 1);
PlayerTextDrawColor(i, Textdraw2[i], 0);
PlayerTextDrawUseBox(i, Textdraw2[i], true);
PlayerTextDrawBoxColor(i, Textdraw2[i], 145728848);
PlayerTextDrawSetShadow(i, Textdraw2[i], 62);
PlayerTextDrawSetOutline(i, Textdraw2[i], 0);
PlayerTextDrawFont(i, Textdraw2[i], 0);
PlayerTextDrawSetProportional(i, Textdraw2[i], 1);
Textdraw3[i] = CreatePlayerTextDraw(i, 554.500000, 406.559906, "Noob");
PlayerTextDrawLetterSize(i, Textdraw3[i], 0.449999, 1.600000);
PlayerTextDrawAlignment(i, Textdraw3[i], 1);
PlayerTextDrawColor(i, Textdraw3[i], -1061109505);
PlayerTextDrawSetShadow(i, Textdraw3[i], 0);
PlayerTextDrawSetOutline(i, Textdraw3[i], 1);
PlayerTextDrawBackgroundColor(i, Textdraw3[i], 51);
PlayerTextDrawFont(i, Textdraw3[i], 0);
PlayerTextDrawSetProportional(i, Textdraw3[i], 1);
}
//onplayerspawn
if(GetPlayerScore(playerid) <= 0)
{
PlayerTextDrawShow(playerid, Textdraw0[playerid]);
PlayerTextDrawShow(playerid, Textdraw1[playerid]);
PlayerTextDrawShow(playerid, Textdraw2[playerid]);
PlayerTextDrawShow(playerid, Textdraw3[playerid]);
PlayerTextDrawTextSize(playerid, Textdraw2[playerid], 628.000000, 14.7);
pbar[playerid] = 0;
}
else if(GetPlayerScore(playerid) <= 100 && GetPlayerScore(playerid) > 0)
{
PlayerTextDrawShow(playerid, Textdraw0[playerid]);
PlayerTextDrawShow(playerid, Textdraw1[playerid]);
PlayerTextDrawShow(playerid, Textdraw2[playerid]);
PlayerTextDrawShow(playerid, Textdraw3[playerid]);
PlayerTextDrawTextSize(playerid, Textdraw2[playerid], 628.000000, 29.4);
PlayerTextDrawSetString(playerid, Textdraw3[playerid], "Starter");
pbar[playerid] = 1;
}
else if(GetPlayerScore(playerid) <= 200 && GetPlayerScore(playerid) > 100)
{
PlayerTextDrawShow(playerid, Textdraw0[playerid]);
PlayerTextDrawShow(playerid, Textdraw1[playerid]);
PlayerTextDrawShow(playerid, Textdraw2[playerid]);
PlayerTextDrawShow(playerid, Textdraw3[playerid]);
PlayerTextDrawTextSize(playerid, Textdraw2[playerid], 628.000000, 29.4);
PlayerTextDrawSetString(playerid, Textdraw3[playerid], "Starter");
pbar[playerid] = 2;
}
else if(GetPlayerScore(playerid) <= 300 && GetPlayerScore(playerid) > 200)
{
PlayerTextDrawShow(playerid, Textdraw0[playerid]);
PlayerTextDrawShow(playerid, Textdraw1[playerid]);
PlayerTextDrawShow(playerid, Textdraw2[playerid]);
PlayerTextDrawShow(playerid, Textdraw3[playerid]);
PlayerTextDrawTextSize(playerid, Textdraw2[playerid], 628.000000, 44.1);
PlayerTextDrawSetString(playerid, Textdraw3[playerid], "Normal");
pbar[playerid] = 3;
}
else if(GetPlayerScore(playerid) <= 400 && GetPlayerScore(playerid) > 300)
{
PlayerTextDrawShow(playerid, Textdraw0[playerid]);
PlayerTextDrawShow(playerid, Textdraw1[playerid]);
PlayerTextDrawShow(playerid, Textdraw2[playerid]);
PlayerTextDrawShow(playerid, Textdraw3[playerid]);
PlayerTextDrawTextSize(playerid, Textdraw2[playerid], 628.000000, 44.1);
PlayerTextDrawSetString(playerid, Textdraw3[playerid], "Normal");
pbar[playerid] = 4;
}
else if(GetPlayerScore(playerid) <= 500 && GetPlayerScore(playerid) > 400)
{
PlayerTextDrawShow(playerid, Textdraw0[playerid]);
PlayerTextDrawShow(playerid, Textdraw1[playerid]);
PlayerTextDrawShow(playerid, Textdraw2[playerid]);
PlayerTextDrawShow(playerid, Textdraw3[playerid]);
PlayerTextDrawTextSize(playerid, Textdraw2[playerid], 628.000000, 58.8);
PlayerTextDrawSetString(playerid, Textdraw3[playerid], "Pro");
pbar[playerid] = 5;
}
else if(GetPlayerScore(playerid) <= 600 && GetPlayerScore(playerid) > 500)
{
PlayerTextDrawShow(playerid, Textdraw0[playerid]);
PlayerTextDrawShow(playerid, Textdraw1[playerid]);
PlayerTextDrawShow(playerid, Textdraw2[playerid]);
PlayerTextDrawShow(playerid, Textdraw3[playerid]);
PlayerTextDrawTextSize(playerid, Textdraw2[playerid], 628.000000, 58.8);
PlayerTextDrawSetString(playerid, Textdraw3[playerid], "Pro");
pbar[playerid] = 6;
}
else if(GetPlayerScore(playerid) <= 700 && GetPlayerScore(playerid) > 600)
{
PlayerTextDrawShow(playerid, Textdraw0[playerid]);
PlayerTextDrawShow(playerid, Textdraw1[playerid]);
PlayerTextDrawShow(playerid, Textdraw2[playerid]);
PlayerTextDrawShow(playerid, Textdraw3[playerid]);
PlayerTextDrawTextSize(playerid, Textdraw2[playerid], 628.000000, 58.8);
PlayerTextDrawSetString(playerid, Textdraw3[playerid], "Pro");
pbar[playerid] = 7;
}
else if(GetPlayerScore(playerid) <= 800 && GetPlayerScore(playerid) > 700)
{
PlayerTextDrawShow(playerid, Textdraw0[playerid]);
PlayerTextDrawShow(playerid, Textdraw1[playerid]);
PlayerTextDrawShow(playerid, Textdraw2[playerid]);
PlayerTextDrawShow(playerid, Textdraw3[playerid]);
PlayerTextDrawTextSize(playerid, Textdraw2[playerid], 628.000000, 58.8);
PlayerTextDrawSetString(playerid, Textdraw3[playerid], "Pro");
pbar[playerid] = 8;
}
else if(GetPlayerScore(playerid) <= 900 && GetPlayerScore(playerid) > 800)
{
PlayerTextDrawShow(playerid, Textdraw0[playerid]);
PlayerTextDrawShow(playerid, Textdraw1[playerid]);
PlayerTextDrawShow(playerid, Textdraw2[playerid]);
PlayerTextDrawShow(playerid, Textdraw3[playerid]);
PlayerTextDrawTextSize(playerid, Textdraw2[playerid], 628.000000, 73.5);
PlayerTextDrawSetString(playerid, Textdraw3[playerid], "Regular");
pbar[playerid] = 9;
}
else if(GetPlayerScore(playerid) <= 1000 && GetPlayerScore(playerid) > 900)
{
PlayerTextDrawShow(playerid, Textdraw0[playerid]);
PlayerTextDrawShow(playerid, Textdraw1[playerid]);
PlayerTextDrawShow(playerid, Textdraw2[playerid]);
PlayerTextDrawShow(playerid, Textdraw3[playerid]);
PlayerTextDrawSetString(playerid, Textdraw3[playerid], "Expert Regular");
PlayerTextDrawTextSize(playerid, Textdraw2[playerid], 628.000000, 427.099914);
pbar[playerid] = 10;
}
else if(GetPlayerScore(playerid) > 1000)
{
PlayerTextDrawShow(playerid, Textdraw0[playerid]);
PlayerTextDrawShow(playerid, Textdraw1[playerid]);
PlayerTextDrawShow(playerid, Textdraw2[playerid]);
PlayerTextDrawShow(playerid, Textdraw3[playerid]);
PlayerTextDrawTextSize(playerid, Textdraw2[playerid], 628.000000, 427.099914);
PlayerTextDrawSetString(playerid, Textdraw3[playerid], "Expert Regular");
pbar[playerid] = 11;
}
Re: Tag mismatch -
absolute - 08.03.2013
oh its compiled but it doesn't show the textdraws
Re: Tag mismatch -
Threshold - 08.03.2013
(facepalm) Probably should have noticed this before...
This should be under OnPlayerConnect (without the loop):
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
Textdraw0[i] = CreatePlayerTextDraw(i, 517.500000, 409.180023, "usebox");
PlayerTextDrawLetterSize(i, Textdraw0[i], 0.000000, 2.358887);
PlayerTextDrawTextSize(i, Textdraw0[i], 628.000000, 0.000000);
PlayerTextDrawAlignment(i, Textdraw0[i], 1);
PlayerTextDrawColor(i, Textdraw0[i], -1061109505);
PlayerTextDrawUseBox(i, Textdraw0[i], true);
PlayerTextDrawBoxColor(i, Textdraw0[i], 102);
PlayerTextDrawSetShadow(i, Textdraw0[i], 0);
PlayerTextDrawSetOutline(i, Textdraw0[i], 0);
PlayerTextDrawFont(i, Textdraw0[i], 0);
Textdraw1[i] = CreatePlayerTextDraw(i, 628.500000, 426.539947, "usebox");
PlayerTextDrawLetterSize(i, Textdraw1[i], 0.000000, -0.005556);
PlayerTextDrawTextSize(i, Textdraw1[i], 516.500000, 0.000000);
PlayerTextDrawAlignment(i, Textdraw1[i], 1);
PlayerTextDrawColor(i, Textdraw1[i], 0);
PlayerTextDrawUseBox(i, Textdraw1[i], true);
PlayerTextDrawBoxColor(i, Textdraw1[i], -240);
PlayerTextDrawSetShadow(i, Textdraw1[i], 0);
PlayerTextDrawSetOutline(i, Textdraw1[i], 0);
PlayerTextDrawFont(i, Textdraw1[i], 0);
Textdraw2[i] = CreatePlayerTextDraw(i, 628.000000, 427.099914, "usebox");
PlayerTextDrawLetterSize(i, Textdraw2[i], 0.000000, -0.100000);
PlayerTextDrawTextSize(i, Textdraw2[i], 517.000000, 0.000000);
PlayerTextDrawAlignment(i, Textdraw2[i], 1);
PlayerTextDrawColor(i, Textdraw2[i], 0);
PlayerTextDrawUseBox(i, Textdraw2[i], true);
PlayerTextDrawBoxColor(i, Textdraw2[i], 145728848);
PlayerTextDrawSetShadow(i, Textdraw2[i], 62);
PlayerTextDrawSetOutline(i, Textdraw2[i], 0);
PlayerTextDrawFont(i, Textdraw2[i], 0);
PlayerTextDrawSetProportional(i, Textdraw2[i], 1);
Textdraw3[i] = CreatePlayerTextDraw(i, 554.500000, 406.559906, "Noob");
PlayerTextDrawLetterSize(i, Textdraw3[i], 0.449999, 1.600000);
PlayerTextDrawAlignment(i, Textdraw3[i], 1);
PlayerTextDrawColor(i, Textdraw3[i], -1061109505);
PlayerTextDrawSetShadow(i, Textdraw3[i], 0);
PlayerTextDrawSetOutline(i, Textdraw3[i], 1);
PlayerTextDrawBackgroundColor(i, Textdraw3[i], 51);
PlayerTextDrawFont(i, Textdraw3[i], 0);
PlayerTextDrawSetProportional(i, Textdraw3[i], 1);
}
And secondly, I would say you should look over all TextDraw related functions and find out what each of them does, before actually experimenting with them.
You can read the following pages:
CreatePlayerTextDraw: Create a player-textdraw.
PlayerTextDrawDestroy: Destroy a player-textdraw.
PlayerTextDrawColor: Set the color of the text in a player-textdraw.
PlayerTextDrawBoxColor: Set the color of a player-textdraw's box.
PlayerTextDrawBackgroundColor: Set the background color of a player-textdraw.
PlayerTextDrawAlignment: Set the alignment of a player-textdraw.
PlayerTextDrawFont: Set the font of a player-textdraw.
PlayerTextDrawLetterSize: Set the letter size of the text in a player-textdraw.
PlayerTextDrawTextSize: Set the size of a player-textdraw box (or clickable area for
PlayerTextDrawSetSelectable).
PlayerTextDrawSetOutline: Toggle the outline on a player-textdraw.
PlayerTextDrawSetShadow: Set the shadow on a player-textdraw.
PlayerTextDrawSetProportional: Scale the text spacing in a player-textdraw to a proportional ratio.
PlayerTextDrawUseBox: Toggle the box on a player-textdraw.
PlayerTextDrawSetString: Set the text of a player-textdraw.
PlayerTextDrawShow: Show a player-textdraw.
PlayerTextDrawHide: Hide a player-textdraw.
Re: Tag mismatch -
absolute - 08.03.2013
oh thanks for help but dude , i tried it
( it doesnt work
Re: Tag mismatch -
Threshold - 08.03.2013
Make sure you place the code under OnPlayerConnect and change all 'i' to 'playerid'. Example:
pawn Код:
Textdraw2[i] = CreatePlayerTextDraw(i, 628.000000, 427.099914, "usebox");
will become:
pawn Код:
Textdraw2[playerid] = CreatePlayerTextDraw(playerid, 628.000000, 427.099914, "usebox");
Re: Tag mismatch -
absolute - 08.03.2013
thx so much
gonna test it