Započeo Aldin Begovic
•17. Okt. 2011.• Zaključano[pomoc]login
1,389
pregleda
2
postova
Made Man
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
381
Postovi:
89
Teme:
Pridružio se:Jul 2011
17. Okt. 2011.
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;
GetPlayerName(playerid, plname, sizeof(plname));
format(string, sizeof(string), "Racuni/%s.ini", plname);
if(!fexist(string))
{
gPlayerAccount = 0;
new regstring;
new regname;
GetPlayerName(playerid,regname,sizeof(regname));
gPlayerAccount = 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 = 1;
PlayerPlaySound(playerid, 1185,0.0,0.0,0.0);
new loginstring,loginname; 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 == 0)
{
Kick(playerid);
return 1;
}
return 1;
}
SetPlayerVirtualWorld(playerid, 0);
new plname[MAX_PLAYER_NAME+100];
new string;
GetPlayerName(playerid, plname, sizeof(plname));
format(string, sizeof(string), "Racuni/%s.ini", plname);
if(!fexist(string))
{
gPlayerAccount = 0;
new regstring;
new regname;
GetPlayerName(playerid,regname,sizeof(regname));
gPlayerAccount = 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 = 1;
PlayerPlaySound(playerid, 1185,0.0,0.0,0.0);
new loginstring,loginname; 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 == 0)
{
Kick(playerid);
return 1;
}
return 1;
}
17. Okt. 2011.
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
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
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava