Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function CheckAccount(playerid)
- {
- switch(cache_num_rows()) {
- case 0: Dialog_Show(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "Register to the server", "{FFFFFF}Welcome to our server, %s. Please type a strong password below to continue.", "Register", "Dip",GetName(playerid));
- case 1: {
- SelectTextDraw(playerid, 0xFFFFFFF);
- for(new i = 0; i < 9; i++) PlayerTextDrawShow(playerid, LoginPTD[playerid][i]); //Dialog_Show(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Login to the server", "{FFFFFF}Welcome back to {AFAFAF}Server{FFFFFF}%s. Please input your password below to log-in.", "Login", "Dip",GetName(playerid));
- }
- }
- return 1;
- }
- public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid) {
- if(playertextid == LoginPTD[playerid][3]) return Dialog_Show(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Login to the server", "{FFFFFF}Welcome back to {AFAFAF}Server{FFFFFF}%s. Please input your password below to log-in.", "Login", "Dip",GetName(playerid));
- return true;
- }
- LoginPTD[playerid][0] = CreatePlayerTextDraw(playerid, 197.232894, 167.249984, "box");
- PlayerTextDrawLetterSize(playerid, LoginPTD[playerid][0], 0.000000, 12.904830);
- PlayerTextDrawTextSize(playerid, LoginPTD[playerid][0], 423.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], 16777039);
- 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);
- LoginPTD[playerid][1] = CreatePlayerTextDraw(playerid, 300.139312, 262.916687, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, LoginPTD[playerid][1], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, LoginPTD[playerid][1], 145.000000, 24.000000);
- PlayerTextDrawAlignment(playerid, LoginPTD[playerid][1], 1);
- PlayerTextDrawColor(playerid, LoginPTD[playerid][1], -1);
- PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][1], 0);
- PlayerTextDrawSetOutline(playerid, LoginPTD[playerid][1], 0);
- PlayerTextDrawBackgroundColor(playerid, LoginPTD[playerid][1], 255);
- PlayerTextDrawFont(playerid, LoginPTD[playerid][1], 4);
- PlayerTextDrawSetProportional(playerid, LoginPTD[playerid][1], 0);
- PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][1], 0);
- LoginPTD[playerid][2] = CreatePlayerTextDraw(playerid, 373.397003, 266.416748, "LOGIN");
- PlayerTextDrawLetterSize(playerid, LoginPTD[playerid][2], 0.400000, 1.600000);
- PlayerTextDrawAlignment(playerid, LoginPTD[playerid][2], 2);
- PlayerTextDrawColor(playerid, LoginPTD[playerid][2], -1);
- PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][2], 0);
- PlayerTextDrawSetOutline(playerid, LoginPTD[playerid][2], 1);
- PlayerTextDrawBackgroundColor(playerid, LoginPTD[playerid][2], 255);
- PlayerTextDrawFont(playerid, LoginPTD[playerid][2], 2);
- PlayerTextDrawSetProportional(playerid, LoginPTD[playerid][2], 1);
- PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][2], 0);
- PlayerTextDrawSetSelectable(playerid, LoginPTD[playerid][3], true);
- LoginPTD[playerid][3] = CreatePlayerTextDraw(playerid, 334.261779, 193.433410, "CLICK HERE FOR PASSWORD");
- PlayerTextDrawLetterSize(playerid, LoginPTD[playerid][3], 0.286149, 1.617500);
- PlayerTextDrawAlignment(playerid, LoginPTD[playerid][3], 2);
- PlayerTextDrawColor(playerid, LoginPTD[playerid][3], -1);
- PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][3], 0);
- PlayerTextDrawSetOutline(playerid, LoginPTD[playerid][3], 0);
- PlayerTextDrawBackgroundColor(playerid, LoginPTD[playerid][3], 255);
- PlayerTextDrawFont(playerid, LoginPTD[playerid][3], 1);
- PlayerTextDrawSetProportional(playerid, LoginPTD[playerid][3], 1);
- PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][3], 0);
- PlayerTextDrawSetSelectable(playerid, LoginPTD[playerid][3], true);
- LoginPTD[playerid][4] = CreatePlayerTextDraw(playerid, 206.603210, 177.166641, "box");
- PlayerTextDrawLetterSize(playerid, LoginPTD[playerid][4], 0.000000, 6.064422);
- PlayerTextDrawTextSize(playerid, LoginPTD[playerid][4], 259.000000, 0.000000);
- PlayerTextDrawAlignment(playerid, LoginPTD[playerid][4], 1);
- PlayerTextDrawColor(playerid, LoginPTD[playerid][4], -1);
- PlayerTextDrawUseBox(playerid, LoginPTD[playerid][4], 1);
- PlayerTextDrawBoxColor(playerid, LoginPTD[playerid][4], 110);
- PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][4], 0);
- PlayerTextDrawSetOutline(playerid, LoginPTD[playerid][4], 0);
- PlayerTextDrawBackgroundColor(playerid, LoginPTD[playerid][4], 255);
- PlayerTextDrawFont(playerid, LoginPTD[playerid][4], 1);
- PlayerTextDrawSetProportional(playerid, LoginPTD[playerid][4], 1);
- PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][4], 0);
- LoginPTD[playerid][5] = CreatePlayerTextDraw(playerid, 192.847702, 176.000015, "");
- PlayerTextDrawLetterSize(playerid, LoginPTD[playerid][5], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, LoginPTD[playerid][5], 75.000000, 55.000000);
- PlayerTextDrawAlignment(playerid, LoginPTD[playerid][5], 1);
- PlayerTextDrawColor(playerid, LoginPTD[playerid][5], -1);
- PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][5], 0);
- PlayerTextDrawSetOutline(playerid, LoginPTD[playerid][5], 0);
- PlayerTextDrawBackgroundColor(playerid, LoginPTD[playerid][5], 0);
- PlayerTextDrawFont(playerid, LoginPTD[playerid][5], 5);
- PlayerTextDrawSetProportional(playerid, LoginPTD[playerid][5], 0);
- PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][5], 0);
- PlayerTextDrawSetPreviewModel(playerid, LoginPTD[playerid][5], 0);
- PlayerTextDrawSetPreviewRot(playerid, LoginPTD[playerid][5], 0.000000, 0.000000, 0.000000, 1.000000);
- LoginPTD[playerid][6] = CreatePlayerTextDraw(playerid, 270.321929, 195.833328, "box");
- PlayerTextDrawLetterSize(playerid, LoginPTD[playerid][6], 0.000000, 1.191802);
- PlayerTextDrawTextSize(playerid, LoginPTD[playerid][6], 399.000000, 0.000000);
- PlayerTextDrawAlignment(playerid, LoginPTD[playerid][6], 1);
- PlayerTextDrawColor(playerid, LoginPTD[playerid][6], -1);
- PlayerTextDrawUseBox(playerid, LoginPTD[playerid][6], 1);
- PlayerTextDrawBoxColor(playerid, LoginPTD[playerid][6], 134);
- PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][6], 0);
- PlayerTextDrawSetOutline(playerid, LoginPTD[playerid][6], 0);
- PlayerTextDrawBackgroundColor(playerid, LoginPTD[playerid][6], 255);
- PlayerTextDrawFont(playerid, LoginPTD[playerid][6], 1);
- PlayerTextDrawSetProportional(playerid, LoginPTD[playerid][6], 1);
- PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][6], 0);
- LoginPTD[playerid][7] = CreatePlayerTextDraw(playerid, 236.588546, 237.017639, "qSorin[]");
- PlayerTextDrawLetterSize(playerid, LoginPTD[playerid][7], 0.312386, 0.952499);
- PlayerTextDrawAlignment(playerid, LoginPTD[playerid][7], 2);
- PlayerTextDrawColor(playerid, LoginPTD[playerid][7], -1);
- PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][7], 0);
- PlayerTextDrawSetOutline(playerid, LoginPTD[playerid][7], 1);
- PlayerTextDrawBackgroundColor(playerid, LoginPTD[playerid][7], 255);
- PlayerTextDrawFont(playerid, LoginPTD[playerid][7], 3);
- PlayerTextDrawSetProportional(playerid, LoginPTD[playerid][7], 1);
- PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][7], 0);
Advertisement
Add Comment
Please, Sign In to add comment