Создаю текстдрав вот так:
PHP код:
TDEditor_PTD[playerid][0] = CreatePlayerTextDraw(playerid, 115.625000, 135.166687, "box");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][0], 0.000000, -5.727942);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][0], 486.000000, 0.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][0], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][0], -1);
PlayerTextDrawUseBox(playerid, TDEditor_PTD[playerid][0], 1);
PlayerTextDrawBoxColor(playerid, TDEditor_PTD[playerid][0], 153);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][0], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][0], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][0], 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][0], 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);
Компилятор выдаёт ошибки:
Код:
C:\Documents and Settings\Admin-PC\Ìîè äîêóìåíòû\Downloads\mod\gamemodes\roleplay.pwn(11535) : warning 215: expression has no effect
C:\Documents and Settings\Admin-PC\Ìîè äîêóìåíòû\Downloads\mod\gamemodes\roleplay.pwn(11535) : error 001: expected token: ";", but found "["
C:\Documents and Settings\Admin-PC\Ìîè äîêóìåíòû\Downloads\mod\gamemodes\roleplay.pwn(11535) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Admin-PC\Ìîè äîêóìåíòû\Downloads\mod\gamemodes\roleplay.pwn(11535) : warning 215: expression has no effect
C:\Documents and Settings\Admin-PC\Ìîè äîêóìåíòû\Downloads\mod\gamemodes\roleplay.pwn(11535) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Admin-PC\Ìîè äîêóìåíòû\Downloads\mod\gamemodes\roleplay.pwn(11535) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
В чём может быть проблема ?