29.03.2014, 14:58
pawn Код:
Login[playerid] = CreatePlayerTextDraw(playerid, 216.000030, 176.296310, "Login");
PlayerTextDrawLetterSize(playerid, Login[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Login[playerid], 1);
PlayerTextDrawColor(playerid, Login[playerid], -1);
PlayerTextDrawSetShadow(playerid, Login[playerid], 0);
PlayerTextDrawSetOutline(playerid, Login[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Login[playerid], 51);
PlayerTextDrawFont(playerid, Login[playerid], 2);
PlayerTextDrawSetProportional(playerid, Login[playerid], 1);
PlayerTextDrawTextSize(playerid, PlayerText:Login[playerid], 100, 10);
TextDrawSetSelectable(playerid, Login[playerid], 1);
Register[playerid] = CreatePlayerTextDraw(playerid, 359.666625, 175.881439, "Register");
PlayerTextDrawLetterSize(playerid, Register[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Register[playerid], 1);
PlayerTextDrawColor(playerid, Register[playerid], -1);
PlayerTextDrawSetShadow(playerid, Register[playerid], 0);
PlayerTextDrawSetOutline(playerid, Register[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Register[playerid], 51);
PlayerTextDrawFont(playerid, Register[playerid], 2);
PlayerTextDrawSetProportional(playerid, Register[playerid], 1);
PlayerTextDrawTextSize(playerid, PlayerText:Register[playerid], 100, 10);
TextDrawSetSelectable(playerid, Register[playerid], 1);
These are the errors:
pawn Код:
C:\Users\Jamie\Desktop\SAMP\gamemodes\JRP.pwn(1141) : warning 213: tag mismatch
C:\Users\Jamie\Desktop\SAMP\gamemodes\JRP.pwn(1141) : warning 213: tag mismatch
C:\Users\Jamie\Desktop\SAMP\gamemodes\JRP.pwn(1141) : warning 202: number of arguments does not match definition
C:\Users\Jamie\Desktop\SAMP\gamemodes\JRP.pwn(1153) : warning 213: tag mismatch
C:\Users\Jamie\Desktop\SAMP\gamemodes\JRP.pwn(1153) : warning 213: tag mismatch
C:\Users\Jamie\Desktop\SAMP\gamemodes\JRP.pwn(1153) : warning 202: number of arguments does not match definition
pawn Код:
TextDrawSetSelectable(playerid, Login[playerid], 1);
and
TextDrawSetSelectable(playerid, Register[playerid], 1);