Započeo (A) Martinez ツ
•8. Avg. 2014.• Zaključano[Pomoc] Warninzi
802
pregleda
33
postova
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
40 / 100 XP
Početnik(0)
55
Postovi:
9
Teme:
Pridružio se:Jun 2014
8. Avg. 2014.
Skripta koju koristim: UPRP
Detaljan opis problema: pa stavio sam OnPlayerClickTextDraw znaci onako stisnes na login i on ti izbaci dialog i onda se logiras.... ali mi izbaci warninge i nisam ni stiso na login on meni vec izbaci dialog login...
Dio skripte: evo di mi izbaci warninge...
Neke slike/video za lakse dobivanje pomoci(neobavezno): mislim da nije potrebno...
Detaljan opis problema: pa stavio sam OnPlayerClickTextDraw znaci onako stisnes na login i on ti izbaci dialog i onda se logiras.... ali mi izbaci warninge i nisam ni stiso na login on meni vec izbaci dialog login...
Dio skripte: evo di mi izbaci warninge...
OcistiChat(playerid,16); TextDrawShowForPlayer(playerid, LoginTextdraw); KillTimer(IntroTimer2); TextDrawShowForPlayer(playerid,Intro);Neke slike/video za lakse dobivanje pomoci(neobavezno): mislim da nije potrebno...
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
40 / 100 XP
Početnik(0)
55
Postovi:
9
Teme:
Pridružio se:Jun 2014
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
40 / 100 XP
Početnik(0)
55
Postovi:
9
Teme:
Pridružio se:Jun 2014
8. Avg. 2014.
forward Registracija2(playerid);
public Registracija2(playerid)
{
KillTimer(IntroTimer2);
TextDrawShowForPlayer(playerid, LOG0);
TextDrawShowForPlayer(playerid, LOG1);
TextDrawShowForPlayer(playerid, LOG2);
TextDrawShowForPlayer(playerid, LOG3);
TextDrawShowForPlayer(playerid, LOG4);
TextDrawShowForPlayer(playerid, LOG5);
TextDrawShowForPlayer(playerid, LOG6);
TextDrawShowForPlayer(playerid, LOG7);
TextDrawShowForPlayer(playerid, LOG8);
TextDrawShowForPlayer(playerid, LOG9);
TextDrawShowForPlayer(playerid, LOG10);
TextDrawShowForPlayer(playerid, LOG11);
TextDrawShowForPlayer(playerid, LOG12);
TextDrawShowForPlayer(playerid, LOG13);
TextDrawShowForPlayer(playerid, LOG14);
TextDrawShowForPlayer(playerid, LOG15);
TextDrawShowForPlayer(playerid, LOG16);
TextDrawShowForPlayer(playerid, LOG17);
TextDrawShowForPlayer(playerid, LOG18);
TextDrawShowForPlayer(playerid, LOG19);
TextDrawShowForPlayer(playerid, LOG20);
TextDrawShowForPlayer(playerid, LOG21);
TextDrawShowForPlayer(playerid, LOG22);
KillTimer(IntroTimer2);
SelectTextDraw(playerid, 0xFF8000FF);
return 1;
KillTimer(IntroTimer2); TextDrawShowForPlayer(playerid,Intro);
TextDrawShowForPlayer(playerid,Intro); TextDrawShowForPlayer(playerid,Intro);
IntroTimer3 = SetTimerEx("Registracija3",5000, false, "i", playerid);
return 1;
}forward LoginP(playerid);
public LoginP(playerid)
{
TextDrawShowForPlayer(playerid, LOG0);
TextDrawShowForPlayer(playerid, LOG1);
TextDrawShowForPlayer(playerid, LOG2);
TextDrawShowForPlayer(playerid, LOG3);
TextDrawShowForPlayer(playerid, LOG4);
TextDrawShowForPlayer(playerid, LOG5);
TextDrawShowForPlayer(playerid, LOG6);
TextDrawShowForPlayer(playerid, LOG7);
TextDrawShowForPlayer(playerid, LOG8);
TextDrawShowForPlayer(playerid, LOG9);
TextDrawShowForPlayer(playerid, LOG10);
TextDrawShowForPlayer(playerid, LOG11);
TextDrawShowForPlayer(playerid, LOG12);
TextDrawShowForPlayer(playerid, LOG13);
TextDrawShowForPlayer(playerid, LOG14);
TextDrawShowForPlayer(playerid, LOG15);
TextDrawShowForPlayer(playerid, LOG16);
TextDrawShowForPlayer(playerid, LOG17);
TextDrawShowForPlayer(playerid, LOG18);
TextDrawShowForPlayer(playerid, LOG19);
TextDrawShowForPlayer(playerid, LOG20);
TextDrawShowForPlayer(playerid, LOG21);
TextDrawShowForPlayer(playerid, LOG22);
SelectTextDraw(playerid, 0xFF8000FF);
LogRegTimer = SetTimerEx("LogReg",8000, true, "d", playerid);
return 1;
OcistiChat(playerid,16); TextDrawShowForPlayer(playerid, LoginTextdraw);
TextDrawShowForPlayer(playerid, LoginTextdraw); TextDrawShowForPlayer(playerid, LoginTextdraw);
InterpolateCameraPos(playerid, 1164.730102, -1187.794677, 307.139495, 1565.853759, -1567.488525, 307.139495, 30000);
InterpolateCameraLookAt(playerid, 1169.372436, -1187.942382, 305.288421, 1565.404052, -1562.916870, 305.165283, 30000);
LogRegTimer = SetTimerEx("LogReg",8000, true, "d", playerid);
return 1;
}eto vam sve ... pa vidite jel dobro... a mozda moguce da je zbog ovog intro-a jer sam izbriso...
OG Legend
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosAktivan Član
23 / 250 XP
Početnik(2)
3,748
Postovi:
73
Teme:
Pridružio se:Jan. 2012
8. Avg. 2014.
forward Registracija2(playerid);
public Registracija2(playerid)
{
KillTimer(IntroTimer2);
TextDrawShowForPlayer(playerid, LOG0);
TextDrawShowForPlayer(playerid, LOG1);
TextDrawShowForPlayer(playerid, LOG2);
TextDrawShowForPlayer(playerid, LOG3);
TextDrawShowForPlayer(playerid, LOG4);
TextDrawShowForPlayer(playerid, LOG5);
TextDrawShowForPlayer(playerid, LOG6);
TextDrawShowForPlayer(playerid, LOG7);
TextDrawShowForPlayer(playerid, LOG8);
TextDrawShowForPlayer(playerid, LOG9);
TextDrawShowForPlayer(playerid, LOG10);
TextDrawShowForPlayer(playerid, LOG11);
TextDrawShowForPlayer(playerid, LOG12);
TextDrawShowForPlayer(playerid, LOG13);
TextDrawShowForPlayer(playerid, LOG14);
TextDrawShowForPlayer(playerid, LOG15);
TextDrawShowForPlayer(playerid, LOG16);
TextDrawShowForPlayer(playerid, LOG17);
TextDrawShowForPlayer(playerid, LOG18);
TextDrawShowForPlayer(playerid, LOG19);
TextDrawShowForPlayer(playerid, LOG20);
TextDrawShowForPlayer(playerid, LOG21);
TextDrawShowForPlayer(playerid, LOG22);
KillTimer(IntroTimer2);
SelectTextDraw(playerid, 0xFF8000FF);
KillTimer(IntroTimer2); TextDrawShowForPlayer(playerid,Intro);
TextDrawShowForPlayer(playerid,Intro); TextDrawShowForPlayer(playerid,Intro);
IntroTimer3 = SetTimerEx("Registracija3",5000, false, "i", playerid);
return 1;
}forward LoginP(playerid);
public LoginP(playerid)
{
TextDrawShowForPlayer(playerid, LOG0);
TextDrawShowForPlayer(playerid, LOG1);
TextDrawShowForPlayer(playerid, LOG2);
TextDrawShowForPlayer(playerid, LOG3);
TextDrawShowForPlayer(playerid, LOG4);
TextDrawShowForPlayer(playerid, LOG5);
TextDrawShowForPlayer(playerid, LOG6);
TextDrawShowForPlayer(playerid, LOG7);
TextDrawShowForPlayer(playerid, LOG8);
TextDrawShowForPlayer(playerid, LOG9);
TextDrawShowForPlayer(playerid, LOG10);
TextDrawShowForPlayer(playerid, LOG11);
TextDrawShowForPlayer(playerid, LOG12);
TextDrawShowForPlayer(playerid, LOG13);
TextDrawShowForPlayer(playerid, LOG14);
TextDrawShowForPlayer(playerid, LOG15);
TextDrawShowForPlayer(playerid, LOG16);
TextDrawShowForPlayer(playerid, LOG17);
TextDrawShowForPlayer(playerid, LOG18);
TextDrawShowForPlayer(playerid, LOG19);
TextDrawShowForPlayer(playerid, LOG20);
TextDrawShowForPlayer(playerid, LOG21);
TextDrawShowForPlayer(playerid, LOG22);
SelectTextDraw(playerid, 0xFF8000FF);
LogRegTimer = SetTimerEx("LogReg",8000, true, "d", playerid);
OcistiChat(playerid,16); TextDrawShowForPlayer(playerid, LoginTextdraw);
TextDrawShowForPlayer(playerid, LoginTextdraw); TextDrawShowForPlayer(playerid, LoginTextdraw);
InterpolateCameraPos(playerid, 1164.730102, -1187.794677, 307.139495, 1565.853759, -1567.488525, 307.139495, 30000);
InterpolateCameraLookAt(playerid, 1169.372436, -1187.942382, 305.288421, 1565.404052, -1562.916870, 305.165283, 30000);
LogRegTimer = SetTimerEx("LogReg",8000, true, "d", playerid);
return 1;
}Probaj...
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
40 / 100 XP
Početnik(0)
55
Postovi:
9
Teme:
Pridružio se:Jun 2014
8. Avg. 2014.
ali sad kad se logujem ponovo mi izbaci dialog i ponovo se moram logirati i tako cijelo vrijemee mozete pomociii
OG Legend
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosAktivan Član
23 / 250 XP
Početnik(2)
3,748
Postovi:
73
Teme:
Pridružio se:Jan. 2012
8. Avg. 2014.
Quote from August 8, 2014, 4:53 pm:
ali sad kad se logujem ponovo mi izbaci dialog i ponovo se moram logirati i tako cijelo vrijemee mozete pomociii
Jesam ti resio problem jesam?
Vidi malo u proveri za pw itd.
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
40 / 100 XP
Početnik(0)
55
Postovi:
9
Teme:
Pridružio se:Jun 2014
8. Avg. 2014.
sve mi je oke ali ja ni nestisnem na login on meni vec izbaci login dialog.... mozete pomoci molim vas
OG Legend
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosAktivan Član
23 / 250 XP
Početnik(2)
3,748
Postovi:
73
Teme:
Pridružio se:Jan. 2012
8. Avg. 2014.
Quote from August 8, 2014, 7:19 pm:
sve mi je oke ali ja ni nestisnem na login on meni vec izbaci login dialog.... mozete pomoci molim vas
Pa pogledaj OnDialogReasponse pokusaj malo sam sta skontat.
Nemam ja moci pa da vidim kod.
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
40 / 100 XP
Početnik(0)
55
Postovi:
9
Teme:
Pridružio se:Jun 2014
8. Avg. 2014.
Oke, mozes mi samo reci jer ja nisam bas dobar u vezi td logina...
case DIALOG_LOGIN:
{
if(!response) return Kick(playerid);
if(response)
{
if(udb_hash(inputtext) == PlayerInfo)
{
INI_ParseFile(Korisnici(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
new rand = random(sizeof(RandomSpawn2));
SetSpawnInfo(playerid, 0, PlayerInfo, RandomSpawn2, RandomSpawn2, RandomSpawn2, RandomSpawn2, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid); GivePlayerMoney(playerid, PlayerInfo);
SetPlayerFightingStyle(playerid, PlayerInfo);
SetCameraBehindPlayer(playerid);
UlogovanProvera = 1;
TextDrawHideForPlayer(playerid, LOG0);
TextDrawHideForPlayer(playerid, LOG1);
TextDrawHideForPlayer(playerid, LOG2);
TextDrawHideForPlayer(playerid, LOG3);
TextDrawHideForPlayer(playerid, LOG4);
TextDrawHideForPlayer(playerid, LOG5);
TextDrawHideForPlayer(playerid, LOG6);
TextDrawHideForPlayer(playerid, LOG7);
TextDrawHideForPlayer(playerid, LOG8);
TextDrawHideForPlayer(playerid, LOG9);
TextDrawHideForPlayer(playerid, LOG10);
TextDrawHideForPlayer(playerid, LOG15);
TextDrawHideForPlayer(playerid, LOG16);
TextDrawHideForPlayer(playerid, LOG17);
TextDrawHideForPlayer(playerid, LOG18);
TextDrawHideForPlayer(playerid, LOG19);
TextDrawHideForPlayer(playerid, LOG20);
TextDrawHideForPlayer(playerid, LOG14);
TextDrawHideForPlayer(playerid, LOG11);
CancelSelectTextDraw(playerid);
OcistiChat(playerid, 10);
new string,iskustvo;
iskustvo = (PlayerInfo * 2) + 2;
format(string,sizeof(string),""CRVENA"Dobrodosao "SIVA"%s "CRVENA"na Steal City RolePlay.",GetName(playerid));
SCM(playerid,-1,string);
format(string,sizeof(string),""CRVENA": "SIVA"Trenutni Level: %d | Respekti: %d/%d | Sati Igre: %d.",PlayerInfo,PlayerInfo,iskustvo,PlayerInfo);
SCM(playerid,-1,string);
if(PlayerInfo == 0)
{
SCM(playerid,-1,""CRVENA"(SC) "SIVA"Niste zavrsili registraciju ni sagledali tutorail pa ste vraceni na ponovnu registraciju!");
ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, ""SIVA"Dali ste musko ili zensko?", ""CRVENA"- "SIVA"Musko\n"CRVENA"- "SIVA"Zensko", "Dalje", "Odustani");
SetPlayerCameraPos(playerid, 1657.39, -1856.75, 45.71); SetPlayerCameraLookAt(playerid, 1661.96, -1857.56, 43.85);
SetPlayerInterior(playerid, 0); TogglePlayerControllable(playerid, 0); SetPlayerPos(playerid, 1693.3690,-1867.5784,13.5412);
SetPlayerFacingAngle(playerid, 139.7829); SetPlayerVirtualWorld(playerid, 5446);
}
}
else
{
new loginstring,loginname;
GetPlayerName(playerid,loginname,sizeof(loginname));
format(loginstring,sizeof(loginstring),""BELA"________________________________________________\n\n"SPLAVA"Dobrodosao na Steal City RolePlay\n\n"BELA"Vas Ime i Prezime: "SPLAVA"%s\n"BELA"Vas korisnicki racun je registrovan na serveru\nUnesite vas tacan password, imate "CRVENA"3 "BELA"pokusaja...\n\n"BELA"Ukoliko pogresite "CRVENA"3 "BELA"puta pass bicete banovani!\n"BELA"________________________________________________",loginname);
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"Login",loginstring,"Login","Izlaz");
LoginPokusaji += 1;
SCMF(playerid,-1,""CRVENA"(SC) "SIVA"Pogresna lozinka | Preostalo Pokusaja: %d/3!",LoginPokusaji);
if(LoginPokusaji == 3) { StatusKonekta(playerid, 3); }
}
return 1;
}
}
}
return 1;
}Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
40 / 100 XP
Početnik(0)
55
Postovi:
9
Teme:
Pridružio se:Jun 2014
8. Avg. 2014.
Gledaj znaci, kad udjem u server izbaci mi login registracija izlaz taman idem kliknit login i on mi izbaci dialog login...znaci automatski mi izbaci dialog login a nisam nista ni kliknio...
OG Legend
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosAktivan Član
23 / 250 XP
Početnik(2)
3,748
Postovi:
73
Teme:
Pridružio se:Jan. 2012
8. Avg. 2014.
Prvo skontaj sta pises
Ti kliknes ali nekliknes?
idem kliknit login i on mi izbaci dialog login...znaci automatski mi izbaci dialog login a nisam nista ni kliknio...Ti kliknes ali nekliknes?
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
40 / 100 XP
Početnik(0)
55
Postovi:
9
Teme:
Pridružio se:Jun 2014
8. Avg. 2014.
hahaha gledaj haha, udjem u server nekliknem nista i on mi izbaci dialog login sad skonto ?
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava