if(playertextid == register7[playerid]) { if(PlayerInfo[playerid][pSkin] > 0 && PlayerInfo[playerid][pSex] > 0 && PlayerInfo[playerid][pTalent] > 0) { PlayerTextDrawHide(playerid, register0[playerid]); PlayerTextDrawHide(playerid, register1[playerid]); PlayerTextDrawHide(playerid, register2[playerid]); PlayerTextDrawHide(playerid, register3[playerid]); PlayerTextDrawHide(playerid, register4[playerid]); PlayerTextDrawHide(playerid, register5[playerid]); PlayerTextDrawHide(playerid, register6[playerid]); PlayerTextDrawHide(playerid, register7[playerid]); PlayerTextDrawHide(playerid, register8[playerid]); PlayerTextDrawHide(playerid, register9[playerid]); PlayerTextDrawHide(playerid, register10[playerid]); PlayerTextDrawHide(playerid, register11[playerid]); PlayerTextDrawHide(playerid, register12[playerid]); PlayerTextDrawHide(playerid, register13[playerid]); PlayerTextDrawHide(playerid, register14[playerid]); CancelSelectTextDraw(playerid); TogglePlayerSpectating(playerid, false); SetCameraBehindPlayer(playerid); SpawnPlayer(playerid); gPlayerLogged[playerid] = 1; } else { SendClientMessage(playerid, COLOR_WHITE, "ERROR: Finish all the needed steps to register your account!"); return 1; } return 1; } if(playertextid == register14[playerid]) { PlayerTextDrawHide(playerid, register0[playerid]); PlayerTextDrawHide(playerid, register1[playerid]); PlayerTextDrawHide(playerid, register2[playerid]); PlayerTextDrawHide(playerid, register3[playerid]); PlayerTextDrawHide(playerid, register4[playerid]); PlayerTextDrawHide(playerid, register5[playerid]); PlayerTextDrawHide(playerid, register6[playerid]); PlayerTextDrawHide(playerid, register7[playerid]); PlayerTextDrawHide(playerid, register8[playerid]); PlayerTextDrawHide(playerid, register9[playerid]); PlayerTextDrawHide(playerid, register10[playerid]); PlayerTextDrawHide(playerid, register11[playerid]); PlayerTextDrawHide(playerid, register12[playerid]); PlayerTextDrawHide(playerid, register13[playerid]); PlayerTextDrawHide(playerid, register14[playerid]); PlayerTextDrawShow(playerid, talent0[playerid]); PlayerTextDrawShow(playerid, talent1[playerid]); PlayerTextDrawShow(playerid, talent2[playerid]); PlayerTextDrawShow(playerid, talent3[playerid]); PlayerTextDrawShow(playerid, talent4[playerid]); PlayerTextDrawShow(playerid, talent5[playerid]); PlayerTextDrawShow(playerid, talent6[playerid]); PlayerTextDrawShow(playerid, talent7[playerid]); PlayerTextDrawShow(playerid, talent8[playerid]); PlayerTextDrawShow(playerid, talent9[playerid]); PlayerTextDrawShow(playerid, talent10[playerid]); PlayerTextDrawShow(playerid, talent11[playerid]); PlayerTextDrawShow(playerid, talent12[playerid]); PlayerTextDrawShow(playerid, talent13[playerid]); PlayerTextDrawShow(playerid, talent14[playerid]); SelectTextDraw(playerid, COLOR_YELLOW); return 1; }
PlayerTextDrawSetSelectable(playerid, PlayerText:register7[playerid], 1); SelectTextDraw(playerid, COLOR_YELLOW);
if(playertextid == register7[playerid]) { if(PlayerInfo[playerid][pSkin] > 0 && PlayerInfo[playerid][pSex] > 0 && PlayerInfo[playerid][pTalent] > 0) { PlayerTextDrawHide(playerid, register0[playerid]); PlayerTextDrawHide(playerid, register1[playerid]); PlayerTextDrawHide(playerid, register2[playerid]); PlayerTextDrawHide(playerid, register3[playerid]); PlayerTextDrawHide(playerid, register4[playerid]); PlayerTextDrawHide(playerid, register5[playerid]); PlayerTextDrawHide(playerid, register6[playerid]); PlayerTextDrawHide(playerid, register7[playerid]); PlayerTextDrawHide(playerid, register8[playerid]); PlayerTextDrawHide(playerid, register9[playerid]); PlayerTextDrawHide(playerid, register10[playerid]); PlayerTextDrawHide(playerid, register11[playerid]); PlayerTextDrawHide(playerid, register12[playerid]); PlayerTextDrawHide(playerid, register13[playerid]); PlayerTextDrawHide(playerid, register14[playerid]); CancelSelectTextDraw(playerid); TogglePlayerSpectating(playerid, false); SetCameraBehindPlayer(playerid); SpawnPlayer(playerid); gPlayerLogged[playerid] = 1; } else { SendClientMessage(playerid, COLOR_WHITE, "ERROR: Finish all the needed steps to register your account!"); return 1; } return 1; } if(playertextid == register14[playerid]) { PlayerTextDrawHide(playerid, register0[playerid]); PlayerTextDrawHide(playerid, register1[playerid]); PlayerTextDrawHide(playerid, register2[playerid]); PlayerTextDrawHide(playerid, register3[playerid]); PlayerTextDrawHide(playerid, register4[playerid]); PlayerTextDrawHide(playerid, register5[playerid]); PlayerTextDrawHide(playerid, register6[playerid]); PlayerTextDrawHide(playerid, register7[playerid]); PlayerTextDrawHide(playerid, register8[playerid]); PlayerTextDrawShow(playerid, register9[playerid]); PlayerTextDrawShow(playerid, register10[playerid]); PlayerTextDrawShow(playerid, register11[playerid]); PlayerTextDrawShow(playerid, register12[playerid]); PlayerTextDrawShow(playerid, register13[playerid]); PlayerTextDrawShow(playerid, register14[playerid]); PlayerTextDrawHide(playerid, talent0[playerid]); PlayerTextDrawHide(playerid, talent1[playerid]); PlayerTextDrawHide(playerid, talent2[playerid]); PlayerTextDrawHide(playerid, talent3[playerid]); PlayerTextDrawHide(playerid, talent4[playerid]); PlayerTextDrawHide(playerid, talent5[playerid]); PlayerTextDrawHide(playerid, talent6[playerid]); PlayerTextDrawHide(playerid, talent7[playerid]); PlayerTextDrawHide(playerid, talent8[playerid]); PlayerTextDrawHide(playerid, talent9[playerid]); PlayerTextDrawHide(playerid, talent10[playerid]); PlayerTextDrawHide(playerid, talent11[playerid]); PlayerTextDrawHide(playerid, talent12[playerid]); PlayerTextDrawHide(playerid, talent13[playerid]); PlayerTextDrawHide(playerid, talent14[playerid]); SelectTextDraw(playerid, COLOR_YELLOW); return 1; }
Use PlayerTextDrawSetSelectable before you use SelectTextDraw.
Код:
PlayerTextDrawSetSelectable(playerid, PlayerText:register7[playerid], 1); SelectTextDraw(playerid, COLOR_YELLOW); |
not confirmed but Try this;
Код:
if(playertextid == register7[playerid]) { if(PlayerInfo[playerid][pSkin] > 0 && PlayerInfo[playerid][pSex] > 0 && PlayerInfo[playerid][pTalent] > 0) { PlayerTextDrawHide(playerid, register0[playerid]); PlayerTextDrawHide(playerid, register1[playerid]); PlayerTextDrawHide(playerid, register2[playerid]); PlayerTextDrawHide(playerid, register3[playerid]); PlayerTextDrawHide(playerid, register4[playerid]); PlayerTextDrawHide(playerid, register5[playerid]); PlayerTextDrawHide(playerid, register6[playerid]); PlayerTextDrawHide(playerid, register7[playerid]); PlayerTextDrawHide(playerid, register8[playerid]); PlayerTextDrawHide(playerid, register9[playerid]); PlayerTextDrawHide(playerid, register10[playerid]); PlayerTextDrawHide(playerid, register11[playerid]); PlayerTextDrawHide(playerid, register12[playerid]); PlayerTextDrawHide(playerid, register13[playerid]); PlayerTextDrawHide(playerid, register14[playerid]); CancelSelectTextDraw(playerid); TogglePlayerSpectating(playerid, false); SetCameraBehindPlayer(playerid); SpawnPlayer(playerid); gPlayerLogged[playerid] = 1; } else { SendClientMessage(playerid, COLOR_WHITE, "ERROR: Finish all the needed steps to register your account!"); return 1; } return 1; } if(playertextid == register14[playerid]) { PlayerTextDrawHide(playerid, register0[playerid]); PlayerTextDrawHide(playerid, register1[playerid]); PlayerTextDrawHide(playerid, register2[playerid]); PlayerTextDrawHide(playerid, register3[playerid]); PlayerTextDrawHide(playerid, register4[playerid]); PlayerTextDrawHide(playerid, register5[playerid]); PlayerTextDrawHide(playerid, register6[playerid]); PlayerTextDrawHide(playerid, register7[playerid]); PlayerTextDrawHide(playerid, register8[playerid]); PlayerTextDrawShow(playerid, register9[playerid]); PlayerTextDrawShow(playerid, register10[playerid]); PlayerTextDrawShow(playerid, register11[playerid]); PlayerTextDrawShow(playerid, register12[playerid]); PlayerTextDrawShow(playerid, register13[playerid]); PlayerTextDrawShow(playerid, register14[playerid]); PlayerTextDrawHide(playerid, talent0[playerid]); PlayerTextDrawHide(playerid, talent1[playerid]); PlayerTextDrawHide(playerid, talent2[playerid]); PlayerTextDrawHide(playerid, talent3[playerid]); PlayerTextDrawHide(playerid, talent4[playerid]); PlayerTextDrawHide(playerid, talent5[playerid]); PlayerTextDrawHide(playerid, talent6[playerid]); PlayerTextDrawHide(playerid, talent7[playerid]); PlayerTextDrawHide(playerid, talent8[playerid]); PlayerTextDrawHide(playerid, talent9[playerid]); PlayerTextDrawHide(playerid, talent10[playerid]); PlayerTextDrawHide(playerid, talent11[playerid]); PlayerTextDrawHide(playerid, talent12[playerid]); PlayerTextDrawHide(playerid, talent13[playerid]); PlayerTextDrawHide(playerid, talent14[playerid]); SelectTextDraw(playerid, COLOR_YELLOW); return 1; } |
stock LoadTextdraws(playerid) { register0[playerid] = CreatePlayerTextDraw(playerid, 254.000000, 128.192565, "box"); PlayerTextDrawLetterSize(playerid, register0[playerid], 0.000000, 16.666664); PlayerTextDrawTextSize(playerid, register0[playerid], 399.000000, 0.000000); PlayerTextDrawAlignment(playerid, register0[playerid], 1); PlayerTextDrawColor(playerid, register0[playerid], -1); PlayerTextDrawUseBox(playerid, register0[playerid], 1); PlayerTextDrawBoxColor(playerid, register0[playerid], 96); PlayerTextDrawSetShadow(playerid, register0[playerid], 0); PlayerTextDrawSetOutline(playerid, register0[playerid], 0); PlayerTextDrawBackgroundColor(playerid, register0[playerid], 255); PlayerTextDrawFont(playerid, register0[playerid], 1); PlayerTextDrawSetProportional(playerid, register0[playerid], 1); PlayerTextDrawSetShadow(playerid, register0[playerid], 0); register1[playerid] = CreatePlayerTextDraw(playerid, 253.999984, 129.022201, "box"); PlayerTextDrawLetterSize(playerid, register1[playerid], 0.000000, 0.733333); PlayerTextDrawTextSize(playerid, register1[playerid], 398.000000, 0.000000); PlayerTextDrawAlignment(playerid, register1[playerid], 1); PlayerTextDrawColor(playerid, register1[playerid], -1); PlayerTextDrawUseBox(playerid, register1[playerid], 1); PlayerTextDrawBoxColor(playerid, register1[playerid], 255); PlayerTextDrawSetShadow(playerid, register1[playerid], 0); PlayerTextDrawSetOutline(playerid, register1[playerid], 0); PlayerTextDrawBackgroundColor(playerid, register1[playerid], 255); PlayerTextDrawFont(playerid, register1[playerid], 1); PlayerTextDrawSetProportional(playerid, register1[playerid], 1); PlayerTextDrawSetShadow(playerid, register1[playerid], 0); register2[playerid] = CreatePlayerTextDraw(playerid, 285.999969, 126.118461, "Registration"); PlayerTextDrawLetterSize(playerid, register2[playerid], 0.282999, 1.035851); PlayerTextDrawAlignment(playerid, register2[playerid], 1); PlayerTextDrawColor(playerid, register2[playerid], -1); PlayerTextDrawSetShadow(playerid, register2[playerid], 0); PlayerTextDrawSetOutline(playerid, register2[playerid], 0); PlayerTextDrawBackgroundColor(playerid, register2[playerid], 255); PlayerTextDrawFont(playerid, register2[playerid], 2); PlayerTextDrawSetProportional(playerid, register2[playerid], 1); PlayerTextDrawSetShadow(playerid, register2[playerid], 0); register3[playerid] = CreatePlayerTextDraw(playerid, 257.666625, 153.911071, "Sex:"); PlayerTextDrawLetterSize(playerid, register3[playerid], 0.300000, 1.000000); PlayerTextDrawAlignment(playerid, register3[playerid], 1); PlayerTextDrawColor(playerid, register3[playerid], -1); PlayerTextDrawSetShadow(playerid, register3[playerid], 0); PlayerTextDrawSetOutline(playerid, register3[playerid], 0); PlayerTextDrawBackgroundColor(playerid, register3[playerid], 255); PlayerTextDrawFont(playerid, register3[playerid], 1); PlayerTextDrawSetProportional(playerid, register3[playerid], 1); PlayerTextDrawSetShadow(playerid, register3[playerid], 0); register4[playerid] = CreatePlayerTextDraw(playerid, 304.333312, 154.325866, "box"); PlayerTextDrawLetterSize(playerid, register4[playerid], 0.000000, 1.133332); PlayerTextDrawTextSize(playerid, register4[playerid], 382.000000, 0.000000); PlayerTextDrawAlignment(playerid, register4[playerid], 1); PlayerTextDrawColor(playerid, register4[playerid], -1); PlayerTextDrawUseBox(playerid, register4[playerid], 1); PlayerTextDrawBoxColor(playerid, register4[playerid], 128); PlayerTextDrawSetShadow(playerid, register4[playerid], 0); PlayerTextDrawSetOutline(playerid, register4[playerid], 0); PlayerTextDrawBackgroundColor(playerid, register4[playerid], 255); PlayerTextDrawFont(playerid, register4[playerid], 1); PlayerTextDrawSetProportional(playerid, register4[playerid], 1); PlayerTextDrawSetShadow(playerid, register4[playerid], 0); register5[playerid] = CreatePlayerTextDraw(playerid, 365.333312, 153.081451, "Select sex"); PlayerTextDrawLetterSize(playerid, register5[playerid], 0.300000, 1.000000); PlayerTextDrawAlignment(playerid, register5[playerid], 3); PlayerTextDrawColor(playerid, register5[playerid], -1); PlayerTextDrawSetShadow(playerid, register5[playerid], 0); PlayerTextDrawSetOutline(playerid, register5[playerid], 0); PlayerTextDrawBackgroundColor(playerid, register5[playerid], 255); PlayerTextDrawFont(playerid, register5[playerid], 1); PlayerTextDrawSetProportional(playerid, register5[playerid], 1); PlayerTextDrawSetShadow(playerid, register5[playerid], 0); PlayerTextDrawSetSelectable(playerid, register5[playerid], true); register6[playerid] = CreatePlayerTextDraw(playerid, 254.333343, 260.933349, "box"); PlayerTextDrawLetterSize(playerid, register6[playerid], 0.000000, 1.800001); PlayerTextDrawTextSize(playerid, register6[playerid], 399.000000, 0.000000); PlayerTextDrawAlignment(playerid, register6[playerid], 1); PlayerTextDrawColor(playerid, register6[playerid], -1); PlayerTextDrawUseBox(playerid, register6[playerid], 1); PlayerTextDrawBoxColor(playerid, register6[playerid], 255); PlayerTextDrawSetShadow(playerid, register6[playerid], 0); PlayerTextDrawSetOutline(playerid, register6[playerid], 0); PlayerTextDrawBackgroundColor(playerid, register6[playerid], 255); PlayerTextDrawFont(playerid, register6[playerid], 1); PlayerTextDrawSetProportional(playerid, register6[playerid], 1); PlayerTextDrawSetShadow(playerid, register6[playerid], 0); register7[playerid] = CreatePlayerTextDraw(playerid, 299.333251, 261.348144, "REGISTER"); PlayerTextDrawLetterSize(playerid, register7[playerid], 0.400000, 1.600000); PlayerTextDrawAlignment(playerid, register7[playerid], 1); PlayerTextDrawColor(playerid, register7[playerid], -1); PlayerTextDrawSetShadow(playerid, register7[playerid], 0); PlayerTextDrawSetOutline(playerid, register7[playerid], 0); PlayerTextDrawBackgroundColor(playerid, register7[playerid], 255); PlayerTextDrawFont(playerid, register7[playerid], 1); PlayerTextDrawSetProportional(playerid, register7[playerid], 1); PlayerTextDrawSetShadow(playerid, register7[playerid], 0); PlayerTextDrawSetSelectable(playerid, register7[playerid], true); register8[playerid] = CreatePlayerTextDraw(playerid, 257.333343, 177.555541, "Skin:"); PlayerTextDrawLetterSize(playerid, register8[playerid], 0.300000, 1.000000); PlayerTextDrawAlignment(playerid, register8[playerid], 1); PlayerTextDrawColor(playerid, register8[playerid], -1); PlayerTextDrawSetShadow(playerid, register8[playerid], 0); PlayerTextDrawSetOutline(playerid, register8[playerid], 0); PlayerTextDrawBackgroundColor(playerid, register8[playerid], 255); PlayerTextDrawFont(playerid, register8[playerid], 1); PlayerTextDrawSetProportional(playerid, register8[playerid], 1); PlayerTextDrawSetShadow(playerid, register8[playerid], 0); register9[playerid] = CreatePlayerTextDraw(playerid, 292.333343, 266.740753, "-"); PlayerTextDrawLetterSize(playerid, register9[playerid], 5.028004, 1.604148); PlayerTextDrawAlignment(playerid, register9[playerid], 1); PlayerTextDrawColor(playerid, register9[playerid], -65281); PlayerTextDrawSetShadow(playerid, register9[playerid], 0); PlayerTextDrawSetOutline(playerid, register9[playerid], 0); PlayerTextDrawBackgroundColor(playerid, register9[playerid], 255); PlayerTextDrawFont(playerid, register9[playerid], 1); PlayerTextDrawSetProportional(playerid, register9[playerid], 1); PlayerTextDrawSetShadow(playerid, register9[playerid], 0); register10[playerid] = CreatePlayerTextDraw(playerid, 303.666656, 179.629592, "box"); PlayerTextDrawLetterSize(playerid, register10[playerid], 0.000000, 1.133332); PlayerTextDrawTextSize(playerid, register10[playerid], 381.000000, 0.000000); PlayerTextDrawAlignment(playerid, register10[playerid], 1); PlayerTextDrawColor(playerid, register10[playerid], -1); PlayerTextDrawUseBox(playerid, register10[playerid], 1); PlayerTextDrawBoxColor(playerid, register10[playerid], 128); PlayerTextDrawSetShadow(playerid, register10[playerid], 0); PlayerTextDrawSetOutline(playerid, register10[playerid], 0); PlayerTextDrawBackgroundColor(playerid, register10[playerid], 255); PlayerTextDrawFont(playerid, register10[playerid], 1); PlayerTextDrawSetProportional(playerid, register10[playerid], 1); PlayerTextDrawSetShadow(playerid, register10[playerid], 0); register11[playerid] = CreatePlayerTextDraw(playerid, 367.666656, 178.799987, "Select skin"); PlayerTextDrawLetterSize(playerid, register11[playerid], 0.300000, 1.000000); PlayerTextDrawAlignment(playerid, register11[playerid], 3); PlayerTextDrawColor(playerid, register11[playerid], -1); PlayerTextDrawSetShadow(playerid, register11[playerid], 0); PlayerTextDrawSetOutline(playerid, register11[playerid], 0); PlayerTextDrawBackgroundColor(playerid, register11[playerid], 255); PlayerTextDrawFont(playerid, register11[playerid], 1); PlayerTextDrawSetProportional(playerid, register11[playerid], 1); PlayerTextDrawSetShadow(playerid, register11[playerid], 0); PlayerTextDrawSetSelectable(playerid, register11[playerid], true); register12[playerid] = CreatePlayerTextDraw(playerid, 257.666687, 202.444442, "Talent:"); PlayerTextDrawLetterSize(playerid, register12[playerid], 0.300000, 1.000000); PlayerTextDrawAlignment(playerid, register12[playerid], 1); PlayerTextDrawColor(playerid, register12[playerid], -1); PlayerTextDrawSetShadow(playerid, register12[playerid], 0); PlayerTextDrawSetOutline(playerid, register12[playerid], 0); PlayerTextDrawBackgroundColor(playerid, register12[playerid], 255); PlayerTextDrawFont(playerid, register12[playerid], 1); PlayerTextDrawSetProportional(playerid, register12[playerid], 1); PlayerTextDrawSetShadow(playerid, register12[playerid], 0); register13[playerid] = CreatePlayerTextDraw(playerid, 303.999969, 205.348129, "box"); PlayerTextDrawLetterSize(playerid, register13[playerid], 0.000000, 1.133332); PlayerTextDrawTextSize(playerid, register13[playerid], 382.000000, 0.000000); PlayerTextDrawAlignment(playerid, register13[playerid], 1); PlayerTextDrawColor(playerid, register13[playerid], -1); PlayerTextDrawUseBox(playerid, register13[playerid], 1); PlayerTextDrawBoxColor(playerid, register13[playerid], 128); PlayerTextDrawSetShadow(playerid, register13[playerid], 0); PlayerTextDrawSetOutline(playerid, register13[playerid], 0); PlayerTextDrawBackgroundColor(playerid, register13[playerid], 255); PlayerTextDrawFont(playerid, register13[playerid], 1); PlayerTextDrawSetProportional(playerid, register13[playerid], 1); PlayerTextDrawSetShadow(playerid, register13[playerid], 0); register14[playerid] = CreatePlayerTextDraw(playerid, 377.333343, 204.518539, "Select talent"); PlayerTextDrawLetterSize(playerid, register14[playerid], 0.300000, 1.000000); PlayerTextDrawAlignment(playerid, register14[playerid], 3); PlayerTextDrawColor(playerid, register14[playerid], -1); PlayerTextDrawSetShadow(playerid, register14[playerid], 0); PlayerTextDrawSetOutline(playerid, register14[playerid], 0); PlayerTextDrawBackgroundColor(playerid, register14[playerid], 255); PlayerTextDrawFont(playerid, register14[playerid], 1); PlayerTextDrawSetProportional(playerid, register14[playerid], 1); PlayerTextDrawSetShadow(playerid, register14[playerid], 0); PlayerTextDrawSetSelectable(playerid, register14[playerid], true); login[playerid] = CreatePlayerTextDraw(playerid, 1.000009, 0.844435, "box"); PlayerTextDrawLetterSize(playerid, login[playerid], 0.000000, 13.700008); PlayerTextDrawTextSize(playerid, login[playerid], 640.000000, 0.000000); PlayerTextDrawAlignment(playerid, login[playerid], 1); PlayerTextDrawColor(playerid, login[playerid], -1); PlayerTextDrawUseBox(playerid, login[playerid], 1); PlayerTextDrawBoxColor(playerid, login[playerid], 255); PlayerTextDrawSetShadow(playerid, login[playerid], 0); PlayerTextDrawSetOutline(playerid, login[playerid], 0); PlayerTextDrawBackgroundColor(playerid, login[playerid], 255); PlayerTextDrawFont(playerid, login[playerid], 1); PlayerTextDrawSetProportional(playerid, login[playerid], 1); PlayerTextDrawSetShadow(playerid, login[playerid], 0); login2[playerid] = CreatePlayerTextDraw(playerid, 388.333312, 19.511083, "Welcome back!"); PlayerTextDrawLetterSize(playerid, login2[playerid], 0.584666, 2.035555); PlayerTextDrawAlignment(playerid, login2[playerid], 3); PlayerTextDrawColor(playerid, login2[playerid], -1); PlayerTextDrawSetShadow(playerid, login2[playerid], 0); PlayerTextDrawSetOutline(playerid, login2[playerid], 0); PlayerTextDrawBackgroundColor(playerid, login2[playerid], 255); PlayerTextDrawFont(playerid, login2[playerid], 1); PlayerTextDrawSetProportional(playerid, login2[playerid], 1); PlayerTextDrawSetShadow(playerid, login2[playerid], 0); login3[playerid] = CreatePlayerTextDraw(playerid, 430.333343, 39.422199, "Enter your password to sign in!"); PlayerTextDrawLetterSize(playerid, login3[playerid], 0.400000, 1.600000); PlayerTextDrawAlignment(playerid, login3[playerid], 3); PlayerTextDrawColor(playerid, login3[playerid], -1); PlayerTextDrawSetShadow(playerid, login3[playerid], 0); PlayerTextDrawSetOutline(playerid, login3[playerid], 0); PlayerTextDrawBackgroundColor(playerid, login3[playerid], 255); PlayerTextDrawFont(playerid, login3[playerid], 1); PlayerTextDrawSetProportional(playerid, login3[playerid], 1); PlayerTextDrawSetShadow(playerid, login3[playerid], 0); talent0[playerid] = CreatePlayerTextDraw(playerid, 233.333343, 158.888854, "box"); PlayerTextDrawLetterSize(playerid, talent0[playerid], 0.000000, 11.600004); PlayerTextDrawTextSize(playerid, talent0[playerid], 417.000000, 0.000000); PlayerTextDrawAlignment(playerid, talent0[playerid], 1); PlayerTextDrawColor(playerid, talent0[playerid], -1); PlayerTextDrawUseBox(playerid, talent0[playerid], 1); PlayerTextDrawBoxColor(playerid, talent0[playerid], 96); PlayerTextDrawSetShadow(playerid, talent0[playerid], 0); PlayerTextDrawSetOutline(playerid, talent0[playerid], 0); PlayerTextDrawBackgroundColor(playerid, talent0[playerid], 255); PlayerTextDrawFont(playerid, talent0[playerid], 1); PlayerTextDrawSetProportional(playerid, talent0[playerid], 1); PlayerTextDrawSetShadow(playerid, talent0[playerid], 0); talent1[playerid] = CreatePlayerTextDraw(playerid, 401.000000, 156.814773, "Talent selection"); PlayerTextDrawLetterSize(playerid, talent1[playerid], 0.400000, 1.600000); PlayerTextDrawAlignment(playerid, talent1[playerid], 3); PlayerTextDrawColor(playerid, talent1[playerid], -1); PlayerTextDrawSetShadow(playerid, talent1[playerid], 0); PlayerTextDrawSetOutline(playerid, talent1[playerid], 0); PlayerTextDrawBackgroundColor(playerid, talent1[playerid], 255); PlayerTextDrawFont(playerid, talent1[playerid], 2); PlayerTextDrawSetProportional(playerid, talent1[playerid], 1); PlayerTextDrawSetShadow(playerid, talent1[playerid], 0); talent2[playerid] = CreatePlayerTextDraw(playerid, 233.999984, 159.718490, "box"); PlayerTextDrawLetterSize(playerid, talent2[playerid], 0.000000, 1.133334); PlayerTextDrawTextSize(playerid, talent2[playerid], 416.000000, 0.000000); PlayerTextDrawAlignment(playerid, talent2[playerid], 1); PlayerTextDrawColor(playerid, talent2[playerid], -1); PlayerTextDrawUseBox(playerid, talent2[playerid], 1); PlayerTextDrawBoxColor(playerid, talent2[playerid], 255); PlayerTextDrawSetShadow(playerid, talent2[playerid], 0); PlayerTextDrawSetOutline(playerid, talent2[playerid], 0); PlayerTextDrawBackgroundColor(playerid, talent2[playerid], 255); PlayerTextDrawFont(playerid, talent2[playerid], 1); PlayerTextDrawSetProportional(playerid, talent2[playerid], 1); PlayerTextDrawSetShadow(playerid, talent2[playerid], 0); talent3[playerid] = CreatePlayerTextDraw(playerid, 238.666671, 176.985198, ""); PlayerTextDrawLetterSize(playerid, talent3[playerid], 0.000000, 0.000000); PlayerTextDrawTextSize(playerid, talent3[playerid], 45.000000, 45.000000); PlayerTextDrawAlignment(playerid, talent3[playerid], 1); PlayerTextDrawColor(playerid, talent3[playerid], -1); PlayerTextDrawSetShadow(playerid, talent3[playerid], 0); PlayerTextDrawSetOutline(playerid, talent3[playerid], 0); PlayerTextDrawBackgroundColor(playerid, talent3[playerid], 256); PlayerTextDrawFont(playerid, talent3[playerid], 5); PlayerTextDrawSetProportional(playerid, talent3[playerid], 0); PlayerTextDrawSetShadow(playerid, talent3[playerid], 0); PlayerTextDrawSetPreviewModel(playerid, talent3[playerid], 335); PlayerTextDrawSetPreviewRot(playerid, talent3[playerid], 0.000000, 0.000000, 0.000000, 1.000000); talent4[playerid] = CreatePlayerTextDraw(playerid, 240.999984, 223.599990, "box"); PlayerTextDrawLetterSize(playerid, talent4[playerid], 0.000000, 1.300001); PlayerTextDrawTextSize(playerid, talent4[playerid], 275.000000, 0.000000); PlayerTextDrawAlignment(playerid, talent4[playerid], 1); PlayerTextDrawColor(playerid, talent4[playerid], -1); PlayerTextDrawUseBox(playerid, talent4[playerid], 1); PlayerTextDrawBoxColor(playerid, talent4[playerid], 64); PlayerTextDrawSetShadow(playerid, talent4[playerid], 0); PlayerTextDrawSetOutline(playerid, talent4[playerid], 0); PlayerTextDrawBackgroundColor(playerid, talent4[playerid], 16); PlayerTextDrawFont(playerid, talent4[playerid], 1); PlayerTextDrawSetProportional(playerid, talent4[playerid], 1); PlayerTextDrawSetShadow(playerid, talent4[playerid], 0); talent5[playerid] = CreatePlayerTextDraw(playerid, 243.666656, 224.014846, "Hunter"); PlayerTextDrawLetterSize(playerid, talent5[playerid], 0.250000, 1.000000); PlayerTextDrawAlignment(playerid, talent5[playerid], 1); PlayerTextDrawColor(playerid, talent5[playerid], -1); PlayerTextDrawSetShadow(playerid, talent5[playerid], 0); PlayerTextDrawSetOutline(playerid, talent5[playerid], 0); PlayerTextDrawBackgroundColor(playerid, talent5[playerid], 255); PlayerTextDrawFont(playerid, talent5[playerid], 1); PlayerTextDrawSetProportional(playerid, talent5[playerid], 1); PlayerTextDrawSetShadow(playerid, talent5[playerid], 0); PlayerTextDrawSetSelectable(playerid, talent5[playerid], true); talent6[playerid] = CreatePlayerTextDraw(playerid, 220.333312, 172.007415, ""); PlayerTextDrawLetterSize(playerid, talent6[playerid], 0.000000, 0.000000); PlayerTextDrawTextSize(playerid, talent6[playerid], 146.000000, 41.000000); PlayerTextDrawAlignment(playerid, talent6[playerid], 1); PlayerTextDrawColor(playerid, talent6[playerid], -1); PlayerTextDrawSetShadow(playerid, talent6[playerid], 0); PlayerTextDrawSetOutline(playerid, talent6[playerid], 0); PlayerTextDrawBackgroundColor(playerid, talent6[playerid], 256); PlayerTextDrawFont(playerid, talent6[playerid], 5); PlayerTextDrawSetProportional(playerid, talent6[playerid], 0); PlayerTextDrawSetShadow(playerid, talent6[playerid], 0); PlayerTextDrawSetPreviewModel(playerid, talent6[playerid], 18632); PlayerTextDrawSetPreviewRot(playerid, talent6[playerid], 0.000000, 0.000000, 0.000000, 1.000000); talent7[playerid] = CreatePlayerTextDraw(playerid, 281.666656, 223.599945, "box"); PlayerTextDrawLetterSize(playerid, talent7[playerid], 0.000000, 1.300001); PlayerTextDrawTextSize(playerid, talent7[playerid], 315.000000, 0.000000); PlayerTextDrawAlignment(playerid, talent7[playerid], 1); PlayerTextDrawColor(playerid, talent7[playerid], -1); PlayerTextDrawUseBox(playerid, talent7[playerid], 1); PlayerTextDrawBoxColor(playerid, talent7[playerid], 64); PlayerTextDrawSetShadow(playerid, talent7[playerid], 0); PlayerTextDrawSetOutline(playerid, talent7[playerid], 0); PlayerTextDrawBackgroundColor(playerid, talent7[playerid], 16); PlayerTextDrawFont(playerid, talent7[playerid], 1); PlayerTextDrawSetProportional(playerid, talent7[playerid], 1); PlayerTextDrawSetShadow(playerid, talent7[playerid], 0); talent8[playerid] = CreatePlayerTextDraw(playerid, 282.000000, 224.429656, "Fisher"); PlayerTextDrawLetterSize(playerid, talent8[playerid], 0.250000, 1.000000); PlayerTextDrawAlignment(playerid, talent8[playerid], 1); PlayerTextDrawColor(playerid, talent8[playerid], -1); PlayerTextDrawSetShadow(playerid, talent8[playerid], 0); PlayerTextDrawSetOutline(playerid, talent8[playerid], 0); PlayerTextDrawBackgroundColor(playerid, talent8[playerid], 255); PlayerTextDrawFont(playerid, talent8[playerid], 1); PlayerTextDrawSetProportional(playerid, talent8[playerid], 1); PlayerTextDrawSetShadow(playerid, talent8[playerid], 0); PlayerTextDrawSetSelectable(playerid, talent8[playerid], true); talent9[playerid] = CreatePlayerTextDraw(playerid, 322.000000, 170.348159, ""); PlayerTextDrawLetterSize(playerid, talent9[playerid], 0.000000, 0.000000); PlayerTextDrawTextSize(playerid, talent9[playerid], 31.000000, 40.000000); PlayerTextDrawAlignment(playerid, talent9[playerid], 1); PlayerTextDrawColor(playerid, talent9[playerid], -1); PlayerTextDrawSetShadow(playerid, talent9[playerid], 0); PlayerTextDrawSetOutline(playerid, talent9[playerid], 0); PlayerTextDrawBackgroundColor(playerid, talent9[playerid], 256); PlayerTextDrawFont(playerid, talent9[playerid], 5); PlayerTextDrawSetProportional(playerid, talent9[playerid], 0); PlayerTextDrawSetShadow(playerid, talent9[playerid], 0); PlayerTextDrawSetPreviewModel(playerid, talent9[playerid], 1240); PlayerTextDrawSetPreviewRot(playerid, talent9[playerid], 0.000000, 0.000000, 0.000000, 1.000000); talent10[playerid] = CreatePlayerTextDraw(playerid, 327.999969, 224.844406, "Doctor"); PlayerTextDrawLetterSize(playerid, talent10[playerid], 0.250000, 1.000000); PlayerTextDrawAlignment(playerid, talent10[playerid], 1); PlayerTextDrawColor(playerid, talent10[playerid], -1); PlayerTextDrawSetShadow(playerid, talent10[playerid], 0); PlayerTextDrawSetOutline(playerid, talent10[playerid], 0); PlayerTextDrawBackgroundColor(playerid, talent10[playerid], 255); PlayerTextDrawFont(playerid, talent10[playerid], 1); PlayerTextDrawSetProportional(playerid, talent10[playerid], 1); PlayerTextDrawSetShadow(playerid, talent10[playerid], 0); PlayerTextDrawSetSelectable(playerid, talent10[playerid], true); talent11[playerid] = CreatePlayerTextDraw(playerid, 324.333312, 224.429565, "box"); PlayerTextDrawLetterSize(playerid, talent11[playerid], 0.000000, 1.300001); PlayerTextDrawTextSize(playerid, talent11[playerid], 358.000000, 0.000000); PlayerTextDrawAlignment(playerid, talent11[playerid], 1); PlayerTextDrawColor(playerid, talent11[playerid], -1); PlayerTextDrawUseBox(playerid, talent11[playerid], 1); PlayerTextDrawBoxColor(playerid, talent11[playerid], 64); PlayerTextDrawSetShadow(playerid, talent11[playerid], 0); PlayerTextDrawSetOutline(playerid, talent11[playerid], 0); PlayerTextDrawBackgroundColor(playerid, talent11[playerid], -5963521); PlayerTextDrawFont(playerid, talent11[playerid], 1); PlayerTextDrawSetProportional(playerid, talent11[playerid], 1); PlayerTextDrawSetShadow(playerid, talent11[playerid], 0); talent12[playerid] = CreatePlayerTextDraw(playerid, 351.666656, 162.051864, ""); PlayerTextDrawLetterSize(playerid, talent12[playerid], 0.000000, 0.000000); PlayerTextDrawTextSize(playerid, talent12[playerid], 72.000000, 63.000000); PlayerTextDrawAlignment(playerid, talent12[playerid], 1); PlayerTextDrawColor(playerid, talent12[playerid], -1); PlayerTextDrawSetShadow(playerid, talent12[playerid], 0); PlayerTextDrawSetOutline(playerid, talent12[playerid], 0); PlayerTextDrawBackgroundColor(playerid, talent12[playerid], 256); PlayerTextDrawFont(playerid, talent12[playerid], 5); PlayerTextDrawSetProportional(playerid, talent12[playerid], 0); PlayerTextDrawSetShadow(playerid, talent12[playerid], 0); PlayerTextDrawSetPreviewModel(playerid, talent12[playerid], 330); PlayerTextDrawSetPreviewRot(playerid, talent12[playerid], 0.000000, 0.000000, 0.000000, 1.000000); talent13[playerid] = CreatePlayerTextDraw(playerid, 365.666656, 224.844451, "Technician"); PlayerTextDrawLetterSize(playerid, talent13[playerid], 0.219999, 0.983407); PlayerTextDrawAlignment(playerid, talent13[playerid], 1); PlayerTextDrawColor(playerid, talent13[playerid], -1); PlayerTextDrawSetShadow(playerid, talent13[playerid], 0); PlayerTextDrawSetOutline(playerid, talent13[playerid], 0); PlayerTextDrawBackgroundColor(playerid, talent13[playerid], 255); PlayerTextDrawFont(playerid, talent13[playerid], 1); PlayerTextDrawSetProportional(playerid, talent13[playerid], 1); PlayerTextDrawSetShadow(playerid, talent13[playerid], 0); PlayerTextDrawSetSelectable(playerid, talent13[playerid], true); talent14[playerid] = CreatePlayerTextDraw(playerid, 365.999969, 224.014755, "box"); PlayerTextDrawLetterSize(playerid, talent14[playerid], 0.000000, 1.300001); PlayerTextDrawTextSize(playerid, talent14[playerid], 400.000000, 0.000000); PlayerTextDrawAlignment(playerid, talent14[playerid], 1); PlayerTextDrawColor(playerid, talent14[playerid], -1); PlayerTextDrawUseBox(playerid, talent14[playerid], 1); PlayerTextDrawBoxColor(playerid, talent14[playerid], 64); PlayerTextDrawSetShadow(playerid, talent14[playerid], 0); PlayerTextDrawSetOutline(playerid, talent14[playerid], 0); PlayerTextDrawBackgroundColor(playerid, talent14[playerid], -5963521); PlayerTextDrawFont(playerid, talent14[playerid], 1); PlayerTextDrawSetProportional(playerid, talent14[playerid], 1); PlayerTextDrawSetShadow(playerid, talent14[playerid], 0); return 1; }