Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <YSI\y_ini>
- //////////////////////////////////////////////////////////////////////////////// Define
- #define PATH "/Korisnici/%s.ini"
- //////////////////////////////////////////////////////////////////////////////// New
- new Text:Prijava[0][MAX_PLAYERS];
- new Text:Prijava[1][MAX_PLAYERS];
- new Text:Prijava[2][MAX_PLAYERS];
- new Text:Prijava[3][MAX_PLAYERS];
- new Text:Prijava[4][MAX_PLAYERS];
- new Text:Prijava[5][MAX_PLAYERS];
- new Text:Prijava[6][MAX_PLAYERS];
- new Text:Prijava[7][MAX_PLAYERS];
- new Text:Prijava[8][MAX_PLAYERS];
- new Text:Prijava[9][MAX_PLAYERS];
- new Text:Prijava[10][MAX_PLAYERS];
- new Text:Prijava[11][MAX_PLAYERS];
- new Text:registracija[0][MAX_PLAYERS];
- new Text:registracija[1][MAX_PLAYERS];
- new Text:registracija[2][MAX_PLAYERS];
- new Text:registracija[3][MAX_PLAYERS];
- new Text:registracija[4][MAX_PLAYERS];
- new Text:registracija[5][MAX_PLAYERS];
- new Text:registracija[6][MAX_PLAYERS];
- new Text:registracija[7][MAX_PLAYERS];
- new Text:registracija[8][MAX_PLAYERS];
- new Text:registracija[9][MAX_PLAYERS];
- new Text:registracija[10][MAX_PLAYERS];
- new Text:registracija[11][MAX_PLAYERS];
- new Text:registracija[12][MAX_PLAYERS];
- new Text:registracija[13][MAX_PLAYERS];
- new Text:registracija[14][MAX_PLAYERS];
- new Text:registracija[15][MAX_PLAYERS];
- ////////////////////////////////////////////////////////////////////////////////
- main()
- {
- print("\n----------------------------------");
- print(" Blank Gamemode by your name here");
- print("----------------------------------\n");
- }
- enum pInfo
- {
- pLozinka,
- pNovac,
- pAdmin,
- pUbistva,
- pSmrti
- };
- new PlayerInfo[MAX_PLAYERS][pInfo];
- forward LoadUser_data(playerid,name[],value[]);
- public LoadUser_data(playerid,name[],value[])
- {
- INI_Int("Lozinka",PlayerInfo[playerid][pLozinka]);
- INI_Int("Novac",PlayerInfo[playerid][pNovac]);
- INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
- INI_Int("Ubistva",PlayerInfo[playerid][pUbistva]);
- INI_Int("Smrti",PlayerInfo[playerid][pSmrti]);
- return 1;
- }
- stock UserPath(playerid)
- {
- new string[128],playername[MAX_PLAYER_NAME];
- GetPlayerName(playerid,playername,sizeof(playername));
- format(string,sizeof(string),PATH,playername);
- return string;
- }
- stock udb_hash(buf[])
- {
- new length=strlen(buf);
- new s1 = 1;
- new s2 = 0;
- new n;
- for (n=0; n<length; n++)
- {
- s1 = (s1 + buf[n]) % 65521;
- s2 = (s2 + s1) % 65521;
- }
- return (s2 << 16) + s1;
- }
- public OnGameModeInit()
- {
- // Don't use these lines if it's a filterscript
- SetGameModeText("Blank Script");
- AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- SetSpawnInfo(playerid, 188, 0, 823.9326,-1341.4829,13.5158,92.8218, 0, 0, 0, 0, 0, 0);// Ovde stavite koordinate svog spawna
- SpawnPlayer(playerid);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- Prijava[0][playerid] = CreatePlayerTextDraw(playerid, 453.875000, 111.166671, "usebox");
- PlayerTextDrawLetterSize(playerid, Prijava[0][playerid], 0.000000, 26.711112);
- PlayerTextDrawTextSize(playerid, Prijava[0][playerid], 173.625000, 0.000000);
- PlayerTextDrawAlignment(playerid, Prijava[0][playerid], 1);
- PlayerTextDrawColor(playerid, Prijava[0][playerid], 0);
- PlayerTextDrawUseBox(playerid, Prijava[0][playerid], true);
- PlayerTextDrawBoxColor(playerid, Prijava[0][playerid], 102);
- PlayerTextDrawSetShadow(playerid, Prijava[0][playerid], 0);
- PlayerTextDrawSetOutline(playerid, Prijava[0][playerid], 0);
- PlayerTextDrawFont(playerid, Prijava[0][playerid], 0);
- Prijava[1][playerid] = CreatePlayerTextDraw(playerid, 196.250000, 120.166656, "Crystal");
- PlayerTextDrawLetterSize(playerid, Prijava[1][playerid], 0.603124, 2.329165);
- PlayerTextDrawAlignment(playerid, Prijava[1][playerid], 1);
- PlayerTextDrawColor(playerid, Prijava[1][playerid], -5963521);
- PlayerTextDrawSetShadow(playerid, Prijava[1][playerid], 0);
- PlayerTextDrawSetOutline(playerid, Prijava[1][playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Prijava[1][playerid], 51);
- PlayerTextDrawFont(playerid, Prijava[1][playerid], 3);
- PlayerTextDrawSetProportional(playerid, Prijava[1][playerid], 1);
- Prijava[2][playerid] = CreatePlayerTextDraw(playerid, 287.500000, 120.750000, "life");
- PlayerTextDrawLetterSize(playerid, Prijava[2][playerid], 0.598750, 2.095833);
- PlayerTextDrawAlignment(playerid, Prijava[2][playerid], 1);
- PlayerTextDrawColor(playerid, Prijava[2][playerid], -1);
- PlayerTextDrawSetShadow(playerid, Prijava[2][playerid], 0);
- PlayerTextDrawSetOutline(playerid, Prijava[2][playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Prijava[2][playerid], 51);
- PlayerTextDrawFont(playerid, Prijava[2][playerid], 3);
- PlayerTextDrawSetProportional(playerid, Prijava[2][playerid], 1);
- Prijava[3][playerid] = CreatePlayerTextDraw(playerid, 336.250000, 121.333305, "roleplay");
- PlayerTextDrawLetterSize(playerid, Prijava[3][playerid], 0.520000, 1.920833);
- PlayerTextDrawAlignment(playerid, Prijava[3][playerid], 1);
- PlayerTextDrawColor(playerid, Prijava[3][playerid], -1);
- PlayerTextDrawSetShadow(playerid, Prijava[3][playerid], 0);
- PlayerTextDrawSetOutline(playerid, Prijava[3][playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Prijava[3][playerid], 51);
- PlayerTextDrawFont(playerid, Prijava[3][playerid], 3);
- PlayerTextDrawSetProportional(playerid, Prijava[3][playerid], 1);
- Prijava[4][playerid] = CreatePlayerTextDraw(playerid, 438.250000, 205.666656, "usebox");
- PlayerTextDrawLetterSize(playerid, Prijava[4][playerid], 0.000000, 3.572223);
- PlayerTextDrawTextSize(playerid, Prijava[4][playerid], 290.500000, 0.000000);
- PlayerTextDrawAlignment(playerid, Prijava[4][playerid], 1);
- PlayerTextDrawColor(playerid, Prijava[4][playerid], 0);
- PlayerTextDrawUseBox(playerid, Prijava[4][playerid], true);
- PlayerTextDrawBoxColor(playerid, Prijava[4][playerid], 102);
- PlayerTextDrawSetShadow(playerid, Prijava[4][playerid], 0);
- PlayerTextDrawSetOutline(playerid, Prijava[4][playerid], 0);
- PlayerTextDrawFont(playerid, Prijava[4][playerid], 0);
- Prijava[5][playerid] = CreatePlayerTextDraw(playerid, 438.250000, 258.166625, "usebox");
- PlayerTextDrawLetterSize(playerid, Prijava[5][playerid], 0.000000, 3.507406);
- PlayerTextDrawTextSize(playerid, Prijava[5][playerid], 292.375000, 0.000000);
- PlayerTextDrawAlignment(playerid, Prijava[5][playerid], 1);
- PlayerTextDrawColor(playerid, Prijava[5][playerid], 0);
- PlayerTextDrawUseBox(playerid, Prijava[5][playerid], true);
- PlayerTextDrawBoxColor(playerid, Prijava[5][playerid], 102);
- PlayerTextDrawSetShadow(playerid, Prijava[5][playerid], 0);
- PlayerTextDrawSetOutline(playerid, Prijava[5][playerid], 0);
- PlayerTextDrawFont(playerid, Prijava[5][playerid], 0);
- Prijava[6][playerid] = CreatePlayerTextDraw(playerid, 188.687500, 212.800003, "Vase ime :");
- PlayerTextDrawLetterSize(playerid, Prijava[6][playerid], 0.449999, 1.600000);
- PlayerTextDrawAlignment(playerid, Prijava[6][playerid], 1);
- PlayerTextDrawColor(playerid, Prijava[6][playerid], -1);
- PlayerTextDrawSetShadow(playerid, Prijava[6][playerid], 0);
- PlayerTextDrawSetOutline(playerid, Prijava[6][playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Prijava[6][playerid], 51);
- PlayerTextDrawFont(playerid, Prijava[6][playerid], 2);
- PlayerTextDrawSetProportional(playerid, Prijava[6][playerid], 1);
- Prijava[7][playerid] = CreatePlayerTextDraw(playerid, 194.375000, 264.833343, "Lozinka :");
- PlayerTextDrawLetterSize(playerid, Prijava[7][playerid], 0.449999, 1.600000);
- PlayerTextDrawAlignment(playerid, Prijava[7][playerid], 1);
- PlayerTextDrawColor(playerid, Prijava[7][playerid], -1);
- PlayerTextDrawSetShadow(playerid, Prijava[7][playerid], 0);
- PlayerTextDrawSetOutline(playerid, Prijava[7][playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Prijava[7][playerid], 51);
- PlayerTextDrawFont(playerid, Prijava[7][playerid], 2);
- PlayerTextDrawSetProportional(playerid, Prijava[7][playerid], 1);
- Prijava[8][playerid] = CreatePlayerTextDraw(playerid, 365.625000, 215.833343, "John_Smith");
- PlayerTextDrawLetterSize(playerid, Prijava[8][playerid], 0.310000, 1.255833);
- PlayerTextDrawAlignment(playerid, Prijava[8][playerid], 2);
- PlayerTextDrawColor(playerid, Prijava[8][playerid], -1);
- PlayerTextDrawSetShadow(playerid, Prijava[8][playerid], 0);
- PlayerTextDrawSetOutline(playerid, Prijava[8][playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Prijava[8][playerid], 51);
- PlayerTextDrawFont(playerid, Prijava[8][playerid], 3);
- PlayerTextDrawSetProportional(playerid, Prijava[8][playerid], 1);
- Prijava[9][playerid] = CreatePlayerTextDraw(playerid, 367.500000, 268.916625, "Unesi");
- PlayerTextDrawLetterSize(playerid, Prijava[9][playerid], 0.334374, 1.104166);
- PlayerTextDrawAlignment(playerid, Prijava[9][playerid], 2);
- PlayerTextDrawColor(playerid, Prijava[9][playerid], -1);
- PlayerTextDrawSetShadow(playerid, Prijava[9][playerid], 0);
- PlayerTextDrawSetOutline(playerid, Prijava[9][playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Prijava[9][playerid], 51);
- PlayerTextDrawFont(playerid, Prijava[9][playerid], 3);
- PlayerTextDrawSetProportional(playerid, Prijava[9][playerid], 1);
- PlayerTextDrawSetSelectable(playerid, Prijava[9][playerid], true);
- Prijava[10][playerid] = CreatePlayerTextDraw(playerid, 274.375000, 317.916656, "Prijava");
- PlayerTextDrawLetterSize(playerid, Prijava[10][playerid], 0.449999, 1.600000);
- PlayerTextDrawAlignment(playerid, Prijava[10][playerid], 1);
- PlayerTextDrawColor(playerid, Prijava[10][playerid], -1);
- PlayerTextDrawSetShadow(playerid, Prijava[10][playerid], 0);
- PlayerTextDrawSetOutline(playerid, Prijava[10][playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Prijava[10][playerid], 51);
- PlayerTextDrawFont(playerid, Prijava[10][playerid], 2);
- PlayerTextDrawSetProportional(playerid, Prijava[10][playerid], 1);
- PlayerTextDrawSetSelectable(playerid, Prijava[10][playerid], true);
- Prijava[11][playerid] = CreatePlayerTextDraw(playerid, 383.250000, 303.666687, "usebox");
- PlayerTextDrawLetterSize(playerid, Prijava[11][playerid], 0.000000, 4.803701);
- PlayerTextDrawTextSize(playerid, Prijava[11][playerid], 248.000000, 0.000000);
- PlayerTextDrawAlignment(playerid, Prijava[11][playerid], 1);
- PlayerTextDrawColor(playerid, Prijava[11][playerid], 0);
- PlayerTextDrawUseBox(playerid, Prijava[11][playerid], true);
- PlayerTextDrawBoxColor(playerid, Prijava[11][playerid], 102);
- PlayerTextDrawSetShadow(playerid, Prijava[11][playerid], 0);
- PlayerTextDrawSetOutline(playerid, Prijava[11][playerid], 0);
- PlayerTextDrawFont(playerid, Prijava[11][playerid], 0);
- egistracija[0][playerid] = CreatePlayerTextDraw(playerid, 252.000000, -5.500000, "usebox");
- PlayerTextDrawLetterSize(playerid, registracija[0][playerid], 0.000000, 99.518981);
- PlayerTextDrawTextSize(playerid, registracija[0][playerid], -9.375000, 0.000000);
- PlayerTextDrawAlignment(playerid, registracija[0][playerid], 1);
- PlayerTextDrawColor(playerid, registracija[0][playerid], -208);
- PlayerTextDrawUseBox(playerid, registracija[0][playerid], true);
- PlayerTextDrawBoxColor(playerid, registracija[0][playerid], 102);
- PlayerTextDrawSetShadow(playerid, registracija[0][playerid], 0);
- PlayerTextDrawSetOutline(playerid, registracija[0][playerid], 0);
- PlayerTextDrawFont(playerid, registracija[0][playerid], 0);
- registracija[1][playerid] = CreatePlayerTextDraw(playerid, 73.125000, 100.916671, "CRYSTAL");
- PlayerTextDrawLetterSize(playerid, registracija[1][playerid], 0.684374, 2.504167);
- PlayerTextDrawAlignment(playerid, registracija[1][playerid], 2);
- PlayerTextDrawColor(playerid, registracija[1][playerid], -5963521);
- PlayerTextDrawSetShadow(playerid, registracija[1][playerid], 0);
- PlayerTextDrawSetOutline(playerid, registracija[1][playerid], 0);
- PlayerTextDrawBackgroundColor(playerid, registracija[1][playerid], 51);
- PlayerTextDrawFont(playerid, registracija[1][playerid], 3);
- PlayerTextDrawSetProportional(playerid, registracija[1][playerid], 1);
- registracija[2][playerid] = CreatePlayerTextDraw(playerid, 145.000000, 101.499961, "LIFE");
- PlayerTextDrawLetterSize(playerid, registracija[2][playerid], 0.690625, 2.404999);
- PlayerTextDrawAlignment(playerid, registracija[2][playerid], 2);
- PlayerTextDrawColor(playerid, registracija[2][playerid], -1);
- PlayerTextDrawSetShadow(playerid, registracija[2][playerid], 0);
- PlayerTextDrawSetOutline(playerid, registracija[2][playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, registracija[2][playerid], 51);
- PlayerTextDrawFont(playerid, registracija[2][playerid], 3);
- PlayerTextDrawSetProportional(playerid, registracija[2][playerid], 1);
- registracija[3][playerid] = CreatePlayerTextDraw(playerid, 220.687500, 143.191909, "usebox");
- PlayerTextDrawLetterSize(playerid, registracija[3][playerid], 0.000000, 4.671760);
- PlayerTextDrawTextSize(playerid, registracija[3][playerid], 19.812500, 0.000000);
- PlayerTextDrawAlignment(playerid, registracija[3][playerid], 1);
- PlayerTextDrawColor(playerid, registracija[3][playerid], 0);
- PlayerTextDrawUseBox(playerid, registracija[3][playerid], true);
- PlayerTextDrawBoxColor(playerid, registracija[3][playerid], 102);
- PlayerTextDrawSetShadow(playerid, registracija[3][playerid], 0);
- PlayerTextDrawSetOutline(playerid, registracija[3][playerid], 0);
- PlayerTextDrawFont(playerid, registracija[3][playerid], 0);
- registracija[4][playerid] = CreatePlayerTextDraw(playerid, 220.750000, 197.499923, "usebox");
- PlayerTextDrawLetterSize(playerid, registracija[4][playerid], 0.000000, 4.613887);
- PlayerTextDrawTextSize(playerid, registracija[4][playerid], 19.875000, 0.000000);
- PlayerTextDrawAlignment(playerid, registracija[4][playerid], 1);
- PlayerTextDrawColor(playerid, registracija[4][playerid], 0);
- PlayerTextDrawUseBox(playerid, registracija[4][playerid], true);
- PlayerTextDrawBoxColor(playerid, registracija[4][playerid], 102);
- PlayerTextDrawSetShadow(playerid, registracija[4][playerid], 0);
- PlayerTextDrawSetOutline(playerid, registracija[4][playerid], 0);
- PlayerTextDrawFont(playerid, registracija[4][playerid], 1);
- registracija[5][playerid] = CreatePlayerTextDraw(playerid, 122.500000, 158.083389, "Lozinka");
- PlayerTextDrawLetterSize(playerid, registracija[5][playerid], 0.299998, 1.191666);
- PlayerTextDrawAlignment(playerid, registracija[5][playerid], 2);
- PlayerTextDrawColor(playerid, registracija[5][playerid], -1);
- PlayerTextDrawSetShadow(playerid, registracija[5][playerid], 0);
- PlayerTextDrawSetOutline(playerid, registracija[5][playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, registracija[5][playerid], 51);
- PlayerTextDrawFont(playerid, registracija[5][playerid], 2);
- PlayerTextDrawSetProportional(playerid, registracija[5][playerid], 1);
- PlayerTextDrawSetSelectable(playerid, registracija[5][playerid], true);
- registracija[6][playerid] = CreatePlayerTextDraw(playerid, 122.499984, 208.833328, "MAIL");
- PlayerTextDrawLetterSize(playerid, registracija[6][playerid], 0.299997, 1.191666);
- PlayerTextDrawAlignment(playerid, registracija[6][playerid], 2);
- PlayerTextDrawColor(playerid, registracija[6][playerid], -1);
- PlayerTextDrawSetShadow(playerid, registracija[6][playerid], 0);
- PlayerTextDrawSetOutline(playerid, registracija[6][playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, registracija[6][playerid], 51);
- PlayerTextDrawFont(playerid, registracija[6][playerid], 2);
- PlayerTextDrawSetProportional(playerid, registracija[6][playerid], 1);
- PlayerTextDrawSetSelectable(playerid, registracija[6][playerid], true);
- registracija[7][playerid] = CreatePlayerTextDraw(playerid, 220.750000, 251.749832, "usebox");
- PlayerTextDrawLetterSize(playerid, registracija[7][playerid], 0.000000, 4.544445);
- PlayerTextDrawTextSize(playerid, registracija[7][playerid], 20.500000, 0.000000);
- PlayerTextDrawAlignment(playerid, registracija[7][playerid], 1);
- PlayerTextDrawColor(playerid, registracija[7][playerid], 0);
- PlayerTextDrawUseBox(playerid, registracija[7][playerid], true);
- PlayerTextDrawBoxColor(playerid, registracija[7][playerid], 102);
- PlayerTextDrawSetShadow(playerid, registracija[7][playerid], 0);
- PlayerTextDrawSetOutline(playerid, registracija[7][playerid], 0);
- PlayerTextDrawFont(playerid, registracija[7][playerid], 0);
- registracija[8][playerid] = CreatePlayerTextDraw(playerid, 122.500000, 264.250000, "godine");
- PlayerTextDrawLetterSize(playerid, registracija[8][playerid], 0.299997, 1.191666);
- PlayerTextDrawAlignment(playerid, registracija[8][playerid], 2);
- PlayerTextDrawColor(playerid, registracija[8][playerid], -1);
- PlayerTextDrawSetShadow(playerid, registracija[8][playerid], 0);
- PlayerTextDrawSetOutline(playerid, registracija[8][playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, registracija[8][playerid], 51);
- PlayerTextDrawFont(playerid, registracija[8][playerid], 2);
- PlayerTextDrawSetProportional(playerid, registracija[8][playerid], 1);
- PlayerTextDrawSetSelectable(playerid, registracija[8][playerid], true);
- registracija[9][playerid] = CreatePlayerTextDraw(playerid, 220.750000, 306.583709, "usebox");
- PlayerTextDrawLetterSize(playerid, registracija[9][playerid], 0.000000, 4.477316);
- PlayerTextDrawTextSize(playerid, registracija[9][playerid], 20.500000, 0.000000);
- PlayerTextDrawAlignment(playerid, registracija[9][playerid], 1);
- PlayerTextDrawColor(playerid, registracija[9][playerid], 0);
- PlayerTextDrawUseBox(playerid, registracija[9][playerid], true);
- PlayerTextDrawBoxColor(playerid, registracija[9][playerid], 102);
- PlayerTextDrawSetShadow(playerid, registracija[9][playerid], 0);
- PlayerTextDrawSetOutline(playerid, registracija[9][playerid], 0);
- PlayerTextDrawFont(playerid, registracija[9][playerid], 0);
- registracija[10][playerid] = CreatePlayerTextDraw(playerid, 122.500000, 318.500000, "Pol");
- PlayerTextDrawLetterSize(playerid, registracija[10][playerid], 0.299997, 1.191666);
- PlayerTextDrawAlignment(playerid, registracija[10][playerid], 2);
- PlayerTextDrawColor(playerid, registracija[10][playerid], -1);
- PlayerTextDrawSetShadow(playerid, registracija[10][playerid], -1);
- PlayerTextDrawSetOutline(playerid, registracija[10][playerid], 0);
- PlayerTextDrawBackgroundColor(playerid, registracija[10][playerid], 51);
- PlayerTextDrawFont(playerid, registracija[10][playerid], 2);
- PlayerTextDrawSetProportional(playerid, registracija[10][playerid], 1);
- PlayerTextDrawSetSelectable(playerid, registracija[10][playerid], true);
- registracija[11][playerid] = CreatePlayerTextDraw(playerid, 220.750000, 362.000305, "usebox");
- PlayerTextDrawLetterSize(playerid, registracija[11][playerid], 0.000000, 4.412498);
- PlayerTextDrawTextSize(playerid, registracija[11][playerid], 20.500000, 0.000000);
- PlayerTextDrawAlignment(playerid, registracija[11][playerid], 1);
- PlayerTextDrawColor(playerid, registracija[11][playerid], 0);
- PlayerTextDrawUseBox(playerid, registracija[11][playerid], true);
- PlayerTextDrawBoxColor(playerid, registracija[11][playerid], 102);
- PlayerTextDrawSetShadow(playerid, registracija[11][playerid], 0);
- PlayerTextDrawSetOutline(playerid, registracija[11][playerid], 0);
- PlayerTextDrawFont(playerid, registracija[11][playerid], 0);
- PlayerTextDrawSetSelectable(playerid, registracija[11][playerid], true);
- registracija[12][playerid] = CreatePlayerTextDraw(playerid, 122.500000, 377.416717, "Drzava");
- PlayerTextDrawLetterSize(playerid, registracija[12][playerid], 0.299997, 1.191666);
- PlayerTextDrawAlignment(playerid, registracija[12][playerid], 2);
- PlayerTextDrawColor(playerid, registracija[12][playerid], -1);
- PlayerTextDrawSetShadow(playerid, registracija[12][playerid], 0);
- PlayerTextDrawSetOutline(playerid, registracija[12][playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, registracija[12][playerid], 51);
- PlayerTextDrawFont(playerid, registracija[12][playerid], 2);
- PlayerTextDrawSetProportional(playerid, registracija[12][playerid], 1);
- PlayerTextDrawSetSelectable(playerid, registracija[12][playerid], true);
- registracija[13][playerid] = CreatePlayerTextDraw(playerid, 645.125000, 408.666748, "usebox");
- PlayerTextDrawLetterSize(playerid, registracija[13][playerid], 0.000000, 6.488887);
- PlayerTextDrawTextSize(playerid, registracija[13][playerid], 533.000000, 0.000000);
- PlayerTextDrawAlignment(playerid, registracija[13][playerid], 1);
- PlayerTextDrawColor(playerid, registracija[13][playerid], 0);
- PlayerTextDrawUseBox(playerid, registracija[13][playerid], true);
- PlayerTextDrawBoxColor(playerid, registracija[13][playerid], 102);
- PlayerTextDrawSetShadow(playerid, registracija[13][playerid], 0);
- PlayerTextDrawSetOutline(playerid, registracija[13][playerid], 0);
- PlayerTextDrawFont(playerid, registracija[13][playerid], 0);
- registracija[14][playerid] = CreatePlayerTextDraw(playerid, 592.500000, 421.166595, "Nastavi");
- PlayerTextDrawLetterSize(playerid, registracija[14][playerid], 0.449999, 1.600000);
- PlayerTextDrawAlignment(playerid, registracija[14][playerid], 2);
- PlayerTextDrawColor(playerid, registracija[14][playerid], -1);
- PlayerTextDrawSetShadow(playerid, registracija[14][playerid], 0);
- PlayerTextDrawSetOutline(playerid, registracija[14][playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, registracija[14][playerid], 51);
- PlayerTextDrawFont(playerid, registracija[14][playerid], 2);
- PlayerTextDrawSetProportional(playerid, registracija[14][playerid], 1);
- PlayerTextDrawSetSelectable(playerid, registracija[14][playerid], true);
- registracija[15][playerid] = CreatePlayerTextDraw(playerid, 173.750000, 93.916618, "X1 v2");
- PlayerTextDrawLetterSize(playerid, registracija[15][playerid], 0.252499, 1.215000);
- PlayerTextDrawAlignment(playerid, registracija[15][playerid], 1);
- PlayerTextDrawColor(playerid, registracija[15][playerid], -5963521);
- PlayerTextDrawSetShadow(playerid, registracija[15][playerid], 0);
- PlayerTextDrawSetOutline(playerid, registracija[15][playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, registracija[15][playerid], 51);
- PlayerTextDrawFont(playerid, registracija[15][playerid], 3);
- PlayerTextDrawSetProportional(playerid, registracija[15][playerid], 1);
- if(fexist(UserPath(playerid)))
- {
- INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
- PlayerTextDrawShow(playerid,Prijava[0][playerid]);
- PlayerTextDrawShow(playerid,Prijava[1][playerid]);
- PlayerTextDrawShow(playerid,Prijava[2][playerid]);
- PlayerTextDrawShow(playerid,Prijava[3][playerid]);
- PlayerTextDrawShow(playerid,Prijava[4][playerid]);
- PlayerTextDrawShow(playerid,Prijava[5][playerid]);
- PlayerTextDrawShow(playerid,Prijava[6][playerid]);
- PlayerTextDrawShow(playerid,Prijava[7][playerid]);
- PlayerTextDrawShow(playerid,Prijava[8][playerid]);
- PlayerTextDrawShow(playerid,Prijava[9][playerid]);
- PlayerTextDrawShow(playerid,Prijava[10][playerid]);
- PlayerTextDrawShow(playerid,Prijava[11][playerid]);
- SelectTextDraw(playerid, 0xA3B4C5FF);
- }
- else
- {
- PlayerTextDrawShow(playerid,registracija[0][playerid]);
- PlayerTextDrawShow(playerid,registracija[1][playerid]);
- PlayerTextDrawShow(playerid,registracija[2][playerid]);
- PlayerTextDrawShow(playerid,registracija[3][playerid]);
- PlayerTextDrawShow(playerid,registracija[4][playerid]);
- PlayerTextDrawShow(playerid,registracija[5][playerid]);
- PlayerTextDrawShow(playerid,registracija[6][playerid]);
- PlayerTextDrawShow(playerid,registracija[7][playerid]);
- PlayerTextDrawShow(playerid,registracija[8][playerid]);
- PlayerTextDrawShow(playerid,registracija[9][playerid]);
- PlayerTextDrawShow(playerid,registracija[10][playerid]);
- PlayerTextDrawShow(playerid,registracija[11][playerid]);
- PlayerTextDrawShow(playerid,registracija[12][playerid]);
- PlayerTextDrawShow(playerid,registracija[13][playerid]);
- PlayerTextDrawShow(playerid,registracija[14][playerid]);
- PlayerTextDrawShow(playerid,registracija[15][playerid]);
- SelectTextDraw(playerid, 0xA3B4C5FF);
- }
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- PlayerTextDrawHide{playerid, PlayerText:Prijava[0][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:Prijava[1][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:Prijava[2][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:Prijava[3][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:Prijava[4][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:Prijava[5][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:Prijava[6][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:Prijava[7][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:Prijava[8][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:Prijava[9][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:Prijava[10][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:Prijava[11][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:registracija[0][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:registracija[1][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:registracija[2][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:registracija[3][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:registracija[4][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:registracija[5][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:registracija[6][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:registracija[7][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:registracija[8][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:registracija[9][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:registracija[10][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:registracija[11][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:registracija[12][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:registracija[13][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:registracija[14][playerid]);
- PlayerTextDrawHide{playerid, PlayerText:registracija[15][playerid]);
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- return 0;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement