[pomoc]login

Započeo Aldin Begovic, Oktobar 17, 2011, 23:06:41 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Imam problem sa loginom tj. admin moze da se loguje sa bilo kojom sifrom dok kod ostali igraca je sve uredu? moze neko pomoc ako zna u cemu je porblem
SetPlayerVirtualWorld(playerid, 0);
   new plname[MAX_PLAYER_NAME+100];
   new string[128];
   GetPlayerName(playerid, plname, sizeof(plname));
   format(string, sizeof(string), "Racuni/%s.ini", plname);
   if(!fexist(string))
   {
      gPlayerAccount[playerid] = 0;
      new regstring[256];
      new regname[64];
      GetPlayerName(playerid,regname,sizeof(regname));
        gPlayerAccount[playerid] = 0;
    format(regstring,sizeof(regstring),"{FFFFFF}Dobrodosli,{00C0FF}%s\n{FFFFFF}Molimo vas registrujte se",regname);
            ShowPlayerDialog(playerid,12347,DIALOG_STYLE_INPUT,"{0080C0}Street 4life RP - REGISTRACIJA",regstring,"Registracija","Izadji");
   }
   else
   {
            gPlayerAccount[playerid] = 1;
            PlayerPlaySound(playerid, 1185,0.0,0.0,0.0);
            new loginstring[256],loginname[64]; GetPlayerName(playerid,loginname,sizeof(loginname));
            format(loginstring,sizeof(loginstring),"{FFFFFF}Dobrodosli,{00C0FF}%s\n{FFFFFF}Molimo upisite svoju lozinku",loginname);
            ShowPlayerDialog(playerid,11255,DIALOG_STYLE_INPUT,"{00C0FF}Street 4life - PRIJAVA",loginstring,"Prijava","Izadji");
         

   }
   return 1;
   }
   forward IdleKickLogin(playerid);
public IdleKickLogin(playerid)
{
if(gPlayerLogged[playerid] == 0)
       {
      Kick(playerid);
      return 1;
      }
   return 1;
}

Mikic95

LOCK

Molimo te da procitas pravila foruma te da onda otvoris temu po pravilima u odgovarajućem podforumu !

PRAVILA:

GLAVNA PRAVILA BALKAN SAMP ZAJEDNICE - http://balkan-samp.com/forum/index.php?topic=7045.0

Prijedlozi & Ideje - http://balkan-samp.com/forum/index.php?topic=2995.0

SA:MP Slike & Video - http://balkan-samp.com/forum/index.php?topic=3.0

Pomoc u vezi SA:MP Klienta - http://balkan-samp.com/forum/index.php?topic=13.0

Pomoc u vezi SA:MP Servera - http://balkan-samp.com/forum/index.php?topic=14.0

Domaci hosting - http://balkan-samp.com/forum/index.php?topic=2729.0

Strani hosting - http://balkan-samp.com/forum/index.php?topic=14404.0

SA:MP Trgovina - http://balkan-samp.com/forum/index.php?board=80.0 (potrazite za koji podforum trebate)

GTA Download zona - http://balkan-samp.com/forum/index.php?topic=67.0

Tutorijali u vezi SA:MP-a - http://balkan-samp.com/forum/index.php?topic=92.0

SA:MP Server oglasi - http://balkan-samp.com/forum/index.php?topic=4.0

Najnovije informacije o SA:MP Serverima - http://balkan-samp.com/forum/index.php?topic=3448.0

Razgovor u vezi PAWN Skriptanja - http://balkan-samp.com/forum/index.php?topic=11453.0

Gamemode skripte - http://balkan-samp.com/forum/index.php?topic=5.0

Filterscripte & Include - http://balkan-samp.com/forum/index.php?topic=18.0

SA:MP Mape - http://balkan-samp.com/forum/index.php?topic=1837.0

Pluginovi za SA:MP - http://balkan-samp.com/forum/index.php?topic=19.0

MTA Sekcija - http://balkan-samp.com/forum/index.php?topic=19145.0

Natjecanje - http://balkan-samp.com/forum/index.php?topic=24076.0

Predstavite se - http://balkan-samp.com/forum/index.php?topic=14432.0

Grand Theft Auto - http://balkan-samp.com/forum/index.php?topic=22.0

Offtopik - http://balkan-samp.com/forum/index.php?topic=23.0