Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forward LogReg(playerid);
- public LogReg(playerid)
- {
- KillTimer(LogRegTimer[playerid]); SetPlayerHealth(playerid, 99.0); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0);
- /////////////////////////////////////////////////////////////////////////////////////
- if(fexist(Korisnici(playerid)))
- {
- new loginstring[256];
- format(loginstring,sizeof(loginstring),""BELA"Dobrodosao na server!\n\n"BELA"Vas racun je "ZELENA"registrovan\n"BELA"Kako bi nastavili upisite vasu sifru.");
- ShowPlayerDialog(playerid, 2, DIALOG_STYLE_PASSWORD, "Login",loginstring, "Login", "Izlaz");
- }
- else
- {
- TextDrawHideForPlayer(playerid,Intro[0]); TextDrawHideForPlayer(playerid,Intro[1]); TextDrawHideForPlayer(playerid,Intro[2]);
- TextDrawHideForPlayer(playerid,Intro[3]); TextDrawHideForPlayer(playerid,Intro[4]); TextDrawHideForPlayer(playerid,Intro[5]);
- TextDrawHideForPlayer(playerid,Intro[6]); TextDrawHideForPlayer(playerid,Intro[7]); TextDrawHideForPlayer(playerid,Intro[8]);
- TextDrawHideForPlayer(playerid,Intro[9]); TextDrawHideForPlayer(playerid,Intro[10]);
- //if(ServerInfo[isRegistracija] == 1)
- //{
- //StatusKonekta(playerid, 5);
- //}
- //else if(ServerInfo[isRegistracija] != 0)
- {
- new info[128];
- strcat(info, ""ZUTA"Preci na registraciju?\n\n", sizeof(info));
- ShowPlayerDialog(playerid, 45, DIALOG_STYLE_MSGBOX, ""BELA"Register", info, "Da", "Ne");
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment