12.01.2015, 23:30
There is something wrong with those codings, but i cant seem to find them.
Those are the errors, Help please.
pawn Код:
FemaleText[playerid] = CreatePlayerTextDraw(playerid, 338.500000, 247.166641, "FEMALE");
PlayerTextDrawLetterSize(playerid, FemaleText[playerid], 0.400000, 1.600000);
PlayerTextDrawAlignment(playerid, FemaleText[playerid], 1);
PlayerTextDrawColor(playerid, FemaleText[playerid], -1);
PlayerTextDrawSetShadow(playerid, FemaleText[playerid], 0);
PlayerTextDrawSetOutline(playerid, FemaleText[playerid], 0);
PlayerTextDrawBackgroundColor(playerid, FemaleText[playerid], 255);
PlayerTextDrawFont(playerid, FemaleText[playerid], 2);
PlayerTextDrawSetProportional(playerid, FemaleText[playerid], 1);
PlayerTextDrawSetShadow(playerid, FemaleText[playerid], 0);
PlayerTextDrawSetSelectable(playerid, FemaleText[playerid], true);
MaleText[playerid] = CreatePlayerTextDraw(playerid, 239.500000, 248.333251, "MALE");
PlayerTextDrawLetterSize(playerid, MaleText[playerid], 0.400000, 1.600000);
PlayerTextDrawAlignment(playerid, MaleText[playerid], 1);
PlayerTextDrawColor(playerid, MaleText[playerid]], -1);
PlayerTextDrawSetShadow(playerid, MaleText[playerid], 0);
PlayerTextDrawSetOutline(playerid, MaleText[playerid], 0);
PlayerTextDrawBackgroundColor(playerid, MaleText[playerid], 255);
PlayerTextDrawFont(playerid, MaleText[playerid], 2);
PlayerTextDrawSetProportional(playerid, MaleText[playerid], 1);
PlayerTextDrawSetShadow(playerid, MaleText[playerid], 0);
PlayerTextDrawSetSelectable(playerid, MaleText[playerid], true);
Код:
C:\Users\Medo\Desktop\HEP-RP\gamemodes\new.pwn(172) : error 028: invalid subscript (not an array or too many subscripts): "FemaleText" C:\Users\Medo\Desktop\HEP-RP\gamemodes\new.pwn(172) : warning 215: expression has no effect C:\Users\Medo\Desktop\HEP-RP\gamemodes\new.pwn(172) : error 001: expected token: ";", but found "]" C:\Users\Medo\Desktop\HEP-RP\gamemodes\new.pwn(172) : error 029: invalid expression, assumed zero C:\Users\Medo\Desktop\HEP-RP\gamemodes\new.pwn(172) : fatal error 107: too many error messages on one line