new PlayerText:Textdraw0[MAX_PLAYERS];new PlayerText:Textdraw1[MAX_PLAYERS];new PlayerText:Textdraw2[MAX_PLAYERS];new PlayerText:Textdraw3[MAX_PLAYERS];new PlayerText:Textdraw4[MAX_PLAYERS];new PlayerText:Textdraw5[MAX_PLAYERS];new PlayerText:Textdraw6[MAX_PLAYERS];new PlayerText:Textdraw7[MAX_PLAYERS];new PlayerText:Textdraw8[MAX_PLAYERS];new PlayerText:Textdraw9[MAX_PLAYERS]; Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 406.844421, 125.944473, \"usebox\");PlayerTextDrawLetterSize(playerid, Textdraw0[playerid], 0.000000, 21.548488);PlayerTextDrawTextSize(playerid, Textdraw0[playerid], 229.999969, 0.000000);PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 1);PlayerTextDrawColor(playerid, Textdraw0[playerid], 0);PlayerTextDrawUseBox(playerid, Textdraw0[playerid], true);PlayerTextDrawBoxColor(playerid, Textdraw0[playerid], 100);PlayerTextDrawSetShadow(playerid, Textdraw0[playerid], 0);PlayerTextDrawSetOutline(playerid, Textdraw0[playerid], 0);PlayerTextDrawFont(playerid, Textdraw0[playerid], 0);Textdraw1[playerid] = CreatePlayerTextDraw(playerid, 406.888946, 103.046699, \"usebox\");PlayerTextDrawLetterSize(playerid, Textdraw1[playerid], 0.000000, 2.116914);PlayerTextDrawTextSize(playerid, Textdraw1[playerid], 230.000076, 0.000000);PlayerTextDrawAlignment(playerid, Textdraw1[playerid], 1);PlayerTextDrawColor(playerid, Textdraw1[playerid], 0);PlayerTextDrawUseBox(playerid, Textdraw1[playerid], true);PlayerTextDrawBoxColor(playerid, Textdraw1[playerid], 343134940);PlayerTextDrawSetShadow(playerid, Textdraw1[playerid], 0);PlayerTextDrawSetOutline(playerid, Textdraw1[playerid], 0);PlayerTextDrawFont(playerid, Textdraw1[playerid], 0);Textdraw2[playerid] = CreatePlayerTextDraw(playerid, 318.222442, 105.031082, \"Bejelentkezes\");PlayerTextDrawLetterSize(playerid, Textdraw2[playerid], 0.449999, 1.600000);PlayerTextDrawAlignment(playerid, Textdraw2[playerid], 2);PlayerTextDrawColor(playerid, Textdraw2[playerid], -2139062017);PlayerTextDrawSetShadow(playerid, Textdraw2[playerid], 0);PlayerTextDrawSetOutline(playerid, Textdraw2[playerid], 1);PlayerTextDrawBackgroundColor(playerid, Textdraw2[playerid], 255);PlayerTextDrawFont(playerid, Textdraw2[playerid], 1);PlayerTextDrawSetProportional(playerid, Textdraw2[playerid], 1);Textdraw3[playerid] = CreatePlayerTextDraw(playerid, 318.355529, 170.090682, \"Felhasznalonev\");PlayerTextDrawLetterSize(playerid, Textdraw3[playerid], 0.449999, 1.600000);PlayerTextDrawTextSize(playerid, Textdraw3[playerid], 681.510925, -149.482864);PlayerTextDrawAlignment(playerid, Textdraw3[playerid], 2);PlayerTextDrawColor(playerid, Textdraw3[playerid], -1);PlayerTextDrawUseBox(playerid, Textdraw3[playerid], true);PlayerTextDrawBoxColor(playerid, Textdraw3[playerid], 343134940);PlayerTextDrawSetShadow(playerid, Textdraw3[playerid], 0);PlayerTextDrawSetOutline(playerid, Textdraw3[playerid], 1);PlayerTextDrawBackgroundColor(playerid, Textdraw3[playerid], 51);PlayerTextDrawFont(playerid, Textdraw3[playerid], 0);PlayerTextDrawSetProportional(playerid, Textdraw3[playerid], 1);Textdraw4[playerid] = CreatePlayerTextDraw(playerid, 393.244354, 188.166656, \"usebox\");PlayerTextDrawLetterSize(playerid, Textdraw4[playerid], 0.000000, 1.393952);PlayerTextDrawTextSize(playerid, Textdraw4[playerid], 243.777770, 0.000000);PlayerTextDrawAlignment(playerid, Textdraw4[playerid], 1);PlayerTextDrawColor(playerid, Textdraw4[playerid], 0);PlayerTextDrawUseBox(playerid, Textdraw4[playerid], true);PlayerTextDrawBoxColor(playerid, Textdraw4[playerid], 102);PlayerTextDrawSetShadow(playerid, Textdraw4[playerid], 0);PlayerTextDrawSetOutline(playerid, Textdraw4[playerid], 0);PlayerTextDrawFont(playerid, Textdraw4[playerid], 0);Textdraw5[playerid] = CreatePlayerTextDraw(playerid, 291.555511, 186.666793, \"Beiras(katt)\");PlayerTextDrawLetterSize(playerid, Textdraw5[playerid], 0.449999, 1.500000);PlayerTextDrawAlignment(playerid, Textdraw5[playerid], 2);PlayerTextDrawColor(playerid, Textdraw5[playerid], -1);PlayerTextDrawSetShadow(playerid, Textdraw5[playerid], 0);PlayerTextDrawSetOutline(playerid, Textdraw5[playerid], 1);PlayerTextDrawBackgroundColor(playerid, Textdraw5[playerid], 51);PlayerTextDrawFont(playerid, Textdraw5[playerid], 1);PlayerTextDrawSetProportional(playerid, Textdraw5[playerid], 1);PlayerTextDrawSetSelectable(playerid, Textdraw5[playerid], true);Textdraw6[playerid] = CreatePlayerTextDraw(playerid, 393.244354, 241.030578, \"usebox\");PlayerTextDrawLetterSize(playerid, Textdraw6[playerid], 0.000000, 1.393952);PlayerTextDrawTextSize(playerid, Textdraw6[playerid], 243.777770, 0.000000);PlayerTextDrawAlignment(playerid, Textdraw6[playerid], 1);PlayerTextDrawColor(playerid, Textdraw6[playerid], 0);PlayerTextDrawUseBox(playerid, Textdraw6[playerid], true);PlayerTextDrawBoxColor(playerid, Textdraw6[playerid], 102);PlayerTextDrawSetShadow(playerid, Textdraw6[playerid], 0);PlayerTextDrawSetOutline(playerid, Textdraw6[playerid], 0);PlayerTextDrawFont(playerid, Textdraw6[playerid], 0);Textdraw7[playerid] = CreatePlayerTextDraw(playerid, 318.621978, 222.805206, \"Jelszo\");PlayerTextDrawLetterSize(playerid, Textdraw7[playerid], 0.449999, 1.600000);PlayerTextDrawTextSize(playerid, Textdraw7[playerid], 509.911163, -149.383148);PlayerTextDrawAlignment(playerid, Textdraw7[playerid], 2);PlayerTextDrawColor(playerid, Textdraw7[playerid], -1);PlayerTextDrawUseBox(playerid, Textdraw7[playerid], true);PlayerTextDrawBoxColor(playerid, Textdraw7[playerid], 255);PlayerTextDrawSetShadow(playerid, Textdraw7[playerid], 0);PlayerTextDrawSetOutline(playerid, Textdraw7[playerid], 1);PlayerTextDrawBackgroundColor(playerid, Textdraw7[playerid], 51);PlayerTextDrawFont(playerid, Textdraw7[playerid], 0);PlayerTextDrawSetProportional(playerid, Textdraw7[playerid], 1);Textdraw8[playerid] = CreatePlayerTextDraw(playerid, 292.444335, 239.431060, \"Beiras(katt)\");PlayerTextDrawLetterSize(playerid, Textdraw8[playerid], 0.449999, 1.600000);PlayerTextDrawAlignment(playerid, Textdraw8[playerid], 2);PlayerTextDrawColor(playerid, Textdraw8[playerid], -1);PlayerTextDrawSetShadow(playerid, Textdraw8[playerid], 0);PlayerTextDrawSetOutline(playerid, Textdraw8[playerid], 1);PlayerTextDrawBackgroundColor(playerid, Textdraw8[playerid], 51);PlayerTextDrawFont(playerid, Textdraw8[playerid], 1);PlayerTextDrawSetProportional(playerid, Textdraw8[playerid], 1);PlayerTextDrawSetSelectable(playerid, Textdraw8[playerid], true);Textdraw9[playerid] = CreatePlayerTextDraw(playerid, 319.288879, 277.561096, \"Bejelentkezes\");PlayerTextDrawLetterSize(playerid, Textdraw9[playerid], 0.449999, 1.600000);PlayerTextDrawTextSize(playerid, Textdraw9[playerid], 206.666595, -129.422180);PlayerTextDrawAlignment(playerid, Textdraw9[playerid], 2);PlayerTextDrawColor(playerid, Textdraw9[playerid], -1);PlayerTextDrawUseBox(playerid, Textdraw9[playerid], true);PlayerTextDrawBoxColor(playerid, Textdraw9[playerid], 255);PlayerTextDrawSetShadow(playerid, Textdraw9[playerid], 0);PlayerTextDrawSetOutline(playerid, Textdraw9[playerid], 1);PlayerTextDrawBackgroundColor(playerid, Textdraw9[playerid], 51);PlayerTextDrawFont(playerid, Textdraw9[playerid], 1);PlayerTextDrawSetProportional(playerid, Textdraw9[playerid], 1);PlayerTextDrawSetSelectable(playerid, Textdraw9[playerid], true);
public OnPlayerConnect(playerid){//Megnézed, regisztrálva van-e, esetleg betöltöd az adatait.//Elõhozod a textdrawokat.SelectTextDraw(playerid, 0xA3B4C5FF); //Megadod, hogy kattinthasson, és ha ráhúzza az egeret, milyen színû legyen.}public OnPlayerClickTextDraw(playerid, Text:clickedid){ if(_:clickedid != INVALID_TEXT_DRAW) { if(clickedid == Textdraw5) { //Felhasználónév beírása dialog.. } } {
PlayerTextDrawSetString(playerid, Textdraw5[playerid], imputtext);
for(new i = strlen(string); i++) if(string != \'\') string = \'*\';