: 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
PlayerText: LoginPTD[3]
PlayerText: LoginPTD[MAX_PLAYERS][3]
|
You need to define
PHP код:
PHP код:
|
new
Text: LoginTD[11],
PlayerText: LoginPTD[MAX_PLAYERS][3];
Load(playerid){
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);
}
|
You need to define
PHP код:
PHP код:
|
: error 035: argument type mismatch (argument 2)
new
Text: LoginTD[11],
PlayerText: LoginPTD[MAX_PLAYERS][3];
Load(playerid){
LoginPTD[playerid][0] = CreatePlayerTextDraw(playerid, 249.707031, 188.833358, "NUME: wNekiRo");
PlayerTextDrawLetterSize(playerid, LoginPTD[playerid][0], 0.400000, 1.600000);
PlayerTextDrawTextSize(playerid, LoginPTD[playerid][0], 377.000000, 0.000000);
PlayerTextDrawAlignment(playerid, LoginPTD[playerid][0], 1);
PlayerTextDrawColor(playerid, LoginPTD[playerid][0], -1);
PlayerTextDrawUseBox(playerid, LoginPTD[playerid][0], 1);
PlayerTextDrawBoxColor(playerid, LoginPTD[playerid][0], 255);
PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][0], 0);
PlayerTextDrawSetOutline(playerid, LoginPTD[playerid][0], 0);
PlayerTextDrawBackgroundColor(playerid, LoginPTD[playerid][0], 255);
PlayerTextDrawFont(playerid, LoginPTD[playerid][0], 1);
PlayerTextDrawSetProportional(playerid, LoginPTD[playerid][0], 1);
PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][0], 0);
PlayerTextDrawSetSelectable(playerid, LoginPTD[playerid][0], true);
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);
}