error 001: expected token: ",", but found "]"
#4

Quote:
Originally Posted by Ertouq
View Post
PHP Code:
public OnPlayerConnect(playerid)
{
Stats[playerid][0] = TextDrawCreate(10.000000129.644470"box");
TextDrawLetterSize(Stats[playerid][0], 0.00000022.649972);
TextDrawTextSize(Stats[playerid][0], 199.0000000.000000);
TextDrawAlignment(Stats[playerid][0], 1);
TextDrawColor(Stats[playerid][0], 255);
TextDrawUseBox(Stats[playerid][0], 1);
TextDrawBoxColor(Stats[playerid][0], -2139062017);
TextDrawSetShadow(Stats[playerid][0], 0);
TextDrawSetOutline(Stats[playerid][0], 0);
TextDrawBackgroundColor(Stats[playerid][0], -2139062017);
TextDrawFont(Stats[playerid][0], 1);
TextDrawSetProportional(Stats[playerid][0], 1);
TextDrawSetShadow(Stats[playerid][0], 0);
Stats[playerid][1] = TextDrawCreate(14.000000133.844421"");
TextDrawLetterSize(Stats[playerid][1], 0.0000000.000000);
TextDrawTextSize(Stats[playerid][1], 90.00000090.000000);
TextDrawAlignment(Stats[playerid][1], 1);
TextDrawColor(Stats[playerid][1], -1);
TextDrawSetShadow(Stats[playerid][1], 0);
TextDrawSetOutline(Stats[playerid][1], 0);
TextDrawBackgroundColor(Stats[playerid][1], 255);
TextDrawFont(Stats[playerid][1], 5);
TextDrawSetProportional(Stats[playerid][1], 0);
TextDrawSetShadow(Stats[playerid][1], 0);
TextDrawSetPreviewModel(Stats[playerid][1], 250);
TextDrawSetPreviewRot(Stats[playerid][1], 0.0000000.0000000.0000001.000000);
Stats[playerid][2] = TextDrawCreate(125.300018134.111206"Nombre");
TextDrawLetterSize(Stats[playerid][2], 0.4000001.600000);
TextDrawAlignment(Stats[playerid][2], 1);
TextDrawColor(Stats[playerid][2], -16776961);
TextDrawSetShadow(Stats[playerid][2], 0);
TextDrawSetOutline(Stats[playerid][2], 3);
TextDrawBackgroundColor(Stats[playerid][2], 255);
TextDrawFont(Stats[playerid][2], 3);
TextDrawSetProportional(Stats[playerid][2], 1);
TextDrawSetShadow(Stats[playerid][2], 0);
Stats[playerid][3] = TextDrawCreate(-268.299865596.487365"box");
TextDrawLetterSize(Stats[playerid][3], 0.00000010.000000);
TextDrawTextSize(Stats[playerid][3], -174.0000000.000000);
TextDrawAlignment(Stats[playerid][3], 1);
TextDrawColor(Stats[playerid][3], -1);
TextDrawUseBox(Stats[playerid][3], 1);
TextDrawBoxColor(Stats[playerid][3], 255);
TextDrawSetShadow(Stats[playerid][3], 0);
TextDrawSetOutline(Stats[playerid][3], 0);
TextDrawBackgroundColor(Stats[playerid][3], 255);
TextDrawFont(Stats[playerid][3], 1);
TextDrawSetProportional(Stats[playerid][3], 1);
TextDrawSetShadow(Stats[playerid][3], 0);
Stats[playerid][4] = TextDrawCreate(13.500000228.577819"Kills:999999");
TextDrawLetterSize(Stats[playerid][4], 0.3985001.612444);
TextDrawAlignment(Stats[playerid][4], 1);
TextDrawColor(Stats[playerid][4], -1);
TextDrawSetShadow(Stats[playerid][4], 0);
TextDrawSetOutline(Stats[playerid][4], 3);
TextDrawBackgroundColor(Stats[playerid][4], 255);
TextDrawFont(Stats[playerid][4], 3);
TextDrawSetProportional(Stats[playerid][4], 1);
TextDrawSetShadow(Stats[playerid][4], 0);
Stats[playerid][5] = TextDrawCreate(13.500000246.622283"Muertes:999999");
TextDrawLetterSize(Stats[playerid][5], 0.3980001.612444);
TextDrawAlignment(Stats[playerid][5], 1);
TextDrawColor(Stats[playerid][5], -1);
TextDrawSetShadow(Stats[playerid][5], 0);
TextDrawSetOutline(Stats[playerid][5], 3);
TextDrawBackgroundColor(Stats[playerid][5], 255);
TextDrawFont(Stats[playerid][5], 3);
TextDrawSetProportional(Stats[playerid][5], 1);
TextDrawSetShadow(Stats[playerid][5], 0);
Stats[playerid][6] = TextDrawCreate(13.500000265.911193"KD:999999");
TextDrawLetterSize(Stats[playerid][6], 0.3980001.612444);
TextDrawAlignment(Stats[playerid][6], 1);
TextDrawColor(Stats[playerid][6], -1);
TextDrawSetShadow(Stats[playerid][6], 0);
TextDrawSetOutline(Stats[playerid][6], 3);
TextDrawBackgroundColor(Stats[playerid][6], 255);
TextDrawFont(Stats[playerid][6], 3);
TextDrawSetProportional(Stats[playerid][6], 1);
TextDrawSetShadow(Stats[playerid][6], 0);
Stats[playerid][7] = TextDrawCreate(13.000000283.955657"Nivel:999999");
TextDrawLetterSize(Stats[playerid][7], 0.3980001.612444);
TextDrawAlignment(Stats[playerid][7], 1);
TextDrawColor(Stats[playerid][7], -1);
TextDrawSetShadow(Stats[playerid][7], 0);
TextDrawSetOutline(Stats[playerid][7], 3);
TextDrawBackgroundColor(Stats[playerid][7], 255);
TextDrawFont(Stats[playerid][7], 3);
TextDrawSetProportional(Stats[playerid][7], 1);
TextDrawSetShadow(Stats[playerid][7], 0);
Stats[playerid][8] = TextDrawCreate(104.000000310.711181"Quitar");
TextDrawLetterSize(Stats[playerid][8], 0.4000001.600000);
TextDrawTextSize(Stats[playerid][8], 0.00000061.000000);
TextDrawAlignment(Stats[playerid][8], 2);
TextDrawColor(Stats[playerid][8], -1);
TextDrawUseBox(Stats[playerid][8], 1);
TextDrawBoxColor(Stats[playerid][8], 255);
TextDrawSetShadow(Stats[playerid][8], 0);
TextDrawSetOutline(Stats[playerid][8], 2);
TextDrawBackgroundColor(Stats[playerid][8], 255);
TextDrawFont(Stats[playerid][8], 3);
TextDrawSetProportional(Stats[playerid][8], 1);
TextDrawSetShadow(Stats[playerid][8], 0);
TextDrawSetSelectable(Stats[playerid][8], true);
return 
1;

You had a ] more

Code:
TextDrawBoxColor(Stats[playerid][0]], -2139062017);
thanks, I hadn't realized that xd
Reply


Messages In This Thread
error 001: expected token: ",", but found "]" - by TheOliver - 18.05.2020, 19:58
Re: error 001: expected token: ",", but found "]" - by Adamoneoone - 18.05.2020, 20:03
Re: error 001: expected token: ",", but found "]" - by Ertouq - 18.05.2020, 20:05
Re: error 001: expected token: ",", but found "]" - by TheOliver - 18.05.2020, 22:28

Forum Jump:


Users browsing this thread: 1 Guest(s)