[Ajuda] Help TextDraw :(
#1

pawn Код:
morreu[playerid] = CreatePlayerTextDraw(44.000000, 321.000000, "mortes:");
    TextDrawBackgroundColor(playerid, morreu[playerid], 255);
    TextDrawFont(playerid, morreu[playerid], 2);
    TextDrawLetterSize(playerid, morreu[playerid], 0.360000, 2.100000);
    TextDrawColor(playerid, morreu[playerid], 16777215);
    TextDrawSetOutline(playerid, morreu[playerid], 1);
    TextDrawSetProportional(playerid, morreu[playerid], 0);
    TextDrawSetSelectable(playerid, morreu[playerid], 1);

    matou[playerid] = CreatePlayerTextDraw(45.000000, 305.000000, "matou:");
    TextDrawBackgroundColor(playerid, matou[playerid], 255);
    TextDrawFont(playerid, matou[playerid], 2);
    TextDrawLetterSize(playerid, matou[playerid], 0.410000, 2.000000);
    TextDrawColor(playerid, matou[playerid], 16777215);
    TextDrawSetOutline(playerid, matou[playerid], 1);
    TextDrawSetProportional(playerid, matou[playerid], 0);
    TextDrawSetSelectable(playerid, matou[playerid], 1);
pawn Код:
(99) : warning 213: tag mismatch
(99) : error 035: argument type mismatch (argument 3)
(100) : warning 213: tag mismatch
(100) : warning 213: tag mismatch
(100) : warning 202: number of arguments does not match definition
(101) : warning 213: tag mismatch
(101) : warning 213: tag mismatch
(101) : warning 202: number of arguments does not match definition
(102) : warning 213: tag mismatch
(102) : warning 213: tag mismatch
(102) : warning 202: number of arguments does not match definition
(103) : warning 213: tag mismatch
(103) : warning 213: tag mismatch
(103) : warning 202: number of arguments does not match definition
 : warning 213: tag mismatch
 : warning 213: tag mismatch
 : warning 202: number of arguments does not match definition
(105) : warning 213: tag mismatch
sou muito nb com textdraw entгo me ajudem ae plz agradeзo desde jб
Reply
#2

TextDrawBackgroundColor , TextDrawFont ,etc sгo para TextDraw normais

Use PlayerTextDrawBackgroundColor, PlayerTextDrawFont, etc
Reply
#3

pawn Код:
morreu[playerid] = CreatePlayerTextDraw(44.000000, 321.000000, "mortes:");
PlayerTextDrawBackgroundColor(playerid, morreu[playerid], 255);
PlayerTextDrawFont(playerid, morreu[playerid], 2);
PlayerTextDrawLetterSize(playerid, morreu[playerid], 0.360000, 2.100000);
PlayerTextDrawColor(playerid, morreu[playerid], 16777215);
PlayerTextDrawSetOutline(playerid, morreu[playerid], 1);
PlayerTextDrawSetProportional(playerid, morreu[playerid], 0);
PlayerTextDrawSetSelectable(playerid, morreu[playerid], 1);

matou[playerid] = CreatePlayerTextDraw(45.000000, 305.000000, "matou:");
PlayerTextDrawBackgroundColor(playerid, matou[playerid], 255);
PlayerTextDrawFont(playerid, matou[playerid], 2);
PlayerTextDrawLetterSize(playerid, matou[playerid], 0.410000, 2.000000);
PlayerTextDrawColor(playerid, matou[playerid], 16777215);
PlayerTextDrawSetOutline(playerid, matou[playerid], 1);
PlayerTextDrawSetProportional(playerid, matou[playerid], 0);
PlayerTextDrawSetSelectable(playerid, matou[playerid], 1);
Lembre-se, new PlayerText:...
Reply
#4

Quote:
Originally Posted by paulor
Посмотреть сообщение
pawn Код:
morreu[playerid] = CreatePlayerTextDraw(44.000000, 321.000000, "mortes:");
PlayerTextDrawBackgroundColor(playerid, morreu[playerid], 255);
PlayerTextDrawFont(playerid, morreu[playerid], 2);
PlayerTextDrawLetterSize(playerid, morreu[playerid], 0.360000, 2.100000);
PlayerTextDrawColor(playerid, morreu[playerid], 16777215);
PlayerTextDrawSetOutline(playerid, morreu[playerid], 1);
PlayerTextDrawSetProportional(playerid, morreu[playerid], 0);
PlayerTextDrawSetSelectable(playerid, morreu[playerid], 1);

matou[playerid] = CreatePlayerTextDraw(45.000000, 305.000000, "matou:");
PlayerTextDrawBackgroundColor(playerid, matou[playerid], 255);
PlayerTextDrawFont(playerid, matou[playerid], 2);
PlayerTextDrawLetterSize(playerid, matou[playerid], 0.410000, 2.000000);
PlayerTextDrawColor(playerid, matou[playerid], 16777215);
PlayerTextDrawSetOutline(playerid, matou[playerid], 1);
PlayerTextDrawSetProportional(playerid, matou[playerid], 0);
PlayerTextDrawSetSelectable(playerid, matou[playerid], 1);
Lembre-se, new PlayerText:...
vlw ae so deu esses warnings e erros
pawn Код:
matou[playerid] = CreatePlayerTextDraw(45.000000, 305.000000, "matou:");
morreu[playerid] = CreatePlayerTextDraw(44.000000, 321.000000, "mortes:");

warning 213: tag mismatch
(99) : error 035: argument type mismatch (argument 3)
(108) : warning 213: tag mismatch
(108) : error 035: argument type mismatch (argument 3)
Reply
#5

Quote:
Originally Posted by Nice-.-
Посмотреть сообщение
vlw ae so deu esses warnings e erros
pawn Код:
matou[playerid] = CreatePlayerTextDraw(45.000000, 305.000000, "matou:");
morreu[playerid] = CreatePlayerTextDraw(44.000000, 321.000000, "mortes:");

warning 213: tag mismatch
(99) : error 035: argument type mismatch (argument 3)
(108) : warning 213: tag mismatch
(108) : error 035: argument type mismatch (argument 3)
Vocк possui estas variaveis ?
pawn Код:
new morreu[MAX_PLAYERS], matou[MAX_PLAYERS];
Se nгo, adicione no topo do gm

@EDIT

Й outra coisa, esses
pawn Код:
matou[playerid] = CreatePlayerTextDraw(45.000000, 305.000000, "matou:");
morreu[playerid] = CreatePlayerTextDraw(44.000000, 321.000000, "mortes:");
deve ser adicionado no OnPlayerConnect(playerid)
Reply
#6

Quote:
Originally Posted by .Skool_.
Посмотреть сообщение
Vocк possui estas variaveis ?
pawn Код:
new morreu[MAX_PLAYERS], matou[MAX_PLAYERS];
Se nгo, adicione no topo do gm
Sim Jб Tenho ;P
Reply
#7

pawn Код:
new PlayerText:morreu[MAX_PLAYERS], PlayerText:matou[MAX_PLAYERS];

matou[playerid] = CreatePlayerTextDraw(playerid, 45.000000, 305.000000, "matou:");
morreu[playerid] = CreatePlayerTextDraw(playerid, 44.000000, 321.000000, "mortes:");
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)