Player Textdraw problem,please help me.
#1

I defined all as:
new
Text: LoginTD[11],
PlayerText: LoginPTD[3];

The problem appears here: LoginPTD[3]
So...

==========THE ERROR=========
C:\pawno\include\systems.inc(367 : warning 215: expression has no effect
C:\pawno\include\systems.inc(367 : error 001: expected token: ";", but found "["
C:\pawno\include\systems.inc(367 : error 029: invalid expression, assumed zero
C:\pawno\include\systems.inc(367 : warning 215: expression has no effect
C:\pawno\include\systems.inc(367 : error 001: expected token: ";", but found "]"
C:\pawno\include\systems.inc(367 : fatal error 107: too many error messages on one line

==========TEXTDRAW=========
[spoiler] LoginPTD[playerid][1] = CreatePlayerTextDraw(playerid, 312.957336, 275.750000, "Last Login: 01.10.2018 20:00:00");
PlayerTextDrawLetterSize(playerid, LoginPTD[playerid][1], 0.274436, 1.389999);
PlayerTextDrawTextSize(playerid, LoginPTD[playerid][1], 0.000000, 144.000000);
PlayerTextDrawAlignment(playerid, LoginPTD[playerid][1], 2);
PlayerTextDrawColor(playerid, LoginPTD[playerid][1], -1);
PlayerTextDrawUseBox(playerid, LoginPTD[playerid][1], 1);
PlayerTextDrawBoxColor(playerid, LoginPTD[playerid][1], 255);
PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][1], 0);
PlayerTextDrawSetOutline(playerid, LoginPTD[playerid][1], 0);
PlayerTextDrawBackgroundColor(playerid, LoginPTD[playerid][1], 255);
PlayerTextDrawFont(playerid, LoginPTD[playerid][1], 1);
PlayerTextDrawSetProportional(playerid, LoginPTD[playerid][1], 1);
PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][1], 0);

LoginPTD[playerid][2] = CreatePlayerTextDraw(playerid, 250.644073, 233.166671, "PAROLA: CLICK");
PlayerTextDrawLetterSize(playerid, LoginPTD[playerid][2], 0.400000, 1.600000);
PlayerTextDrawTextSize(playerid, LoginPTD[playerid][2], 378.000000, 0.000000);
PlayerTextDrawAlignment(playerid, LoginPTD[playerid][2], 1);
PlayerTextDrawColor(playerid, LoginPTD[playerid][2], -1);
PlayerTextDrawUseBox(playerid, LoginPTD[playerid][2], 1);
PlayerTextDrawBoxColor(playerid, LoginPTD[playerid][2], 255);
PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][2], 0);
PlayerTextDrawSetOutline(playerid, LoginPTD[playerid][2], 0);
PlayerTextDrawBackgroundColor(playerid, LoginPTD[playerid][2], 255);
PlayerTextDrawFont(playerid, LoginPTD[playerid][2], 1);
PlayerTextDrawSetProportional(playerid, LoginPTD[playerid][2], 1);
PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][2], 0);
PlayerTextDrawSetSelectable(playerid, LoginPTD[playerid][2], true);


========EDIT=======
I compiled the gamemod with Sublime Text 3
Reply


Messages In This Thread
Player Textdraw problem,please help me. - by ExodusxD - 21.10.2018, 10:50
Re: Player Textdraw problem,please help me. - by v1k1nG - 21.10.2018, 11:03
Re: Player Textdraw problem,please help me. - by SiNaGaMeR - 21.10.2018, 11:08
Re: Player Textdraw problem,please help me. - by ExodusxD - 21.10.2018, 11:08
Re: Player Textdraw problem,please help me. - by ExodusxD - 21.10.2018, 11:11
Re: Player Textdraw problem,please help me. - by v1k1nG - 21.10.2018, 11:11
Re: Player Textdraw problem,please help me. - by ExodusxD - 21.10.2018, 11:16
Re: Player Textdraw problem,please help me. - by ExodusxD - 21.10.2018, 11:21
Re: Player Textdraw problem,please help me. - by v1k1nG - 21.10.2018, 11:44

Forum Jump:


Users browsing this thread: 4 Guest(s)