PlayerTextDraw: Expression has no effect
#1

Hola,
i'm getting a Error when i'm trying to Create a Textdraw only for player. Getting warnings like this:
Код HTML:
warning 215: expression has no effect
error 001: expected token: ";", but found "["
error 029: invalid expression, assumed zero
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
fatal error 107: too many error messages on one line
So far i know, the code, looks good, but why, i'm getting the warning, have no idea. Any ideas?

Code under OnPlayerConnect:
Код HTML:
public OnPlayerConnect(playerid)
{
        Hola[playerid][0] = CreatePlayerTextDraw(playerid, 327.700134, 126.533325, "box");
        PlayerTextDrawLetterSize(playerid, Hola[playerid][0], 0.000000, 25.688150);
        PlayerTextDrawTextSize(playerid, Hola[playerid][0], 0.000000, 513.000000);
        PlayerTextDrawAlignment(playerid, Hola[playerid][0], 2);
        PlayerTextDrawColor(playerid, Hola[playerid][0], -1);
        PlayerTextDrawUseBox(playerid, Hola[playerid][0], 1);
        PlayerTextDrawBoxColor(playerid, Hola[playerid][0], -2139062017);
        PlayerTextDrawSetShadow(playerid, Hola[playerid][0], 0);
        PlayerTextDrawSetOutline(playerid, Hola[playerid][0], 0);
        PlayerTextDrawBackgroundColor(playerid, Hola[playerid][0], 255);
        PlayerTextDrawFont(playerid, Hola[playerid][0], 1);
        PlayerTextDrawSetProportional(playerid, Hola[playerid][0], 1);
        PlayerTextDrawSetShadow(playerid, Hola[playerid][0], 0);


12 more Textdraw's
......
}
On top of GM, i have:
Код HTML:
new PlayerText:Hola[13];
Thanks!
Reply


Messages In This Thread
PlayerTextDraw: Expression has no effect - by NBass - 25.03.2017, 20:09
Re: PlayerTextDraw: Expression has no effect - by jlalt - 25.03.2017, 20:17
Re: PlayerTextDraw: Expression has no effect - by NBass - 25.03.2017, 20:21
Re: PlayerTextDraw: Expression has no effect - by DobbysGamertag - 25.03.2017, 20:26
Re: PlayerTextDraw: Expression has no effect - by NBass - 25.03.2017, 21:15

Forum Jump:


Users browsing this thread: 4 Guest(s)