b]Skripta koju koristim[/b]:LARP
Opis problema o kojem se radi:Zbagovan Reg&Log nemoze se nista raditi :'(
Dio skripte://=====================[Novi Reg/Log]=================================================//
if(playertextid == registracija[5][playerid])
{
ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,""GLAVNA"Registracija",""BELA"Unesite lozinku kako bi nastavili dalje!","OK","Izlaz");
}
if(playertextid == registracija[6][playerid])
{
ShowPlayerDialog(playerid, DIALOG_EMAIL, DIALOG_STYLE_INPUT, ""GLAVNA"E-mail adresa",""BELA"Da bi nastavili dalje sa registracijom morate unijeti e-mail adresu.\nOvo vam je potpuna zaÅ¡tita radi mogućih hakiranja RAČUNA!","OK","");
}
if(playertextid == registracija[8][playerid])
{
ShowPlayerDialog(playerid, DIALOG_GODINE, DIALOG_STYLE_INPUT, ""GLAVNA"Godine",""BELA"Da bi nastavili dalje sa registracijom morate unijeti vase godine!\nOvo vam je unošenje pravih godina bez laganja!","OK","");
}
if(playertextid == registracija[10][playerid])
{
ShowPlayerDialog(playerid, DIALOG_SPOL, DIALOG_STYLE_MSGBOX, ""GLAVNA"Spol",""BELA"Da bi nastavili dalje sa registracijom morate unijeti vas spol!\nOvo vam je unošenje pravog spola bez laganja!","M","Z");
}
if(playertextid == registracija[12][playerid])
{
ShowPlayerDialog(playerid, DIALOG_PORIJEKLO, DIALOG_STYLE_INPUT, ""GLAVNA"Poreklo",""BELA"Da bi nastavili dalje sa registracijom morate upisati vase porijeklo!\nMorate unijeti neke od navedenih drzava:\nSrbija\nBiH\nRepublika Srpska\nCrna Gora\nHrvatska\nMakedonija\nSlovenija\nOstalo","OK","");
//ShowPlayerDialog(playerid, DIALOG_PORIJEKLO, DIALOG_STYLE_LIST, ""BELA"Odakle ste ?", "Srbija\nBosna i Hercegovina\nRepublika Srpska\nCrna Gora\nHrvatska\nMakedonija\nSlovenija\n"CRVENA"- "BELAOstalo", "Izaberi", "Odustani");
}
if(playertextid == registracija[14][playerid])
{
// Uspjesna Registracija
if(jeluradio[playerid] < 5) return SendClientMessage(playerid,-1,""COL_RED" Moras unijeti sve podatke pa onda da se registrujes!!");
SendClientMessage(playerid,-1,""GLAVNA"(LS:RP): "BELA"Uspjesno ste se registrirali! Sretnu igru zeli vam Administracija!");
//SpawnPlayer(playerid);
ShowPlayerDialog(playerid, DIALOG_PSPAWN2, DIALOG_STYLE_LIST, ""GLAVNA"Biranje spawna", "Sjeverni LS spawn\nJuzni LS spawn", "Potvrdi", "Izadji");
SavePlayer(playerid);
PlayerTextDrawHide(playerid,registracija[0][playerid]);
PlayerTextDrawHide(playerid,registracija[1][playerid]);
PlayerTextDrawHide(playerid,registracija[2][playerid]);
PlayerTextDrawHide(playerid,registracija[3][playerid]);
PlayerTextDrawHide(playerid,registracija[4][playerid]);
PlayerTextDrawHide(playerid,registracija[5][playerid]);
PlayerTextDrawHide(playerid,registracija[6][playerid]);
PlayerTextDrawHide(playerid,registracija[7][playerid]);
PlayerTextDrawHide(playerid,registracija[8][playerid]);
PlayerTextDrawHide(playerid,registracija[9][playerid]);
PlayerTextDrawHide(playerid,registracija[10][playerid]);
PlayerTextDrawHide(playerid,registracija[11][playerid]);
PlayerTextDrawHide(playerid,registracija[12][playerid]);
PlayerTextDrawHide(playerid,registracija[13][playerid]);
PlayerTextDrawHide(playerid,registracija[14][playerid]);
PlayerTextDrawHide(playerid,registracija[15][playerid]);
CancelSelectTextDraw(playerid);
}
//======================================================================//
if(playertextid == zalogin[9][playerid])
{
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,""GLAVNA"Prijava",""BELA"Unesite lozinku kako bi nastavili dalje!","OK","Kick");
}
if(playertextid == zalogin[10][playerid])
{
if(jeluradio[playerid] == 0) return SendClientMessage(playerid,-1,""COL_RED" Pogrijesili ste lozinku/ili vam je upaljen CAPSLock..");
//INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
//SpawnPlayer(playerid);
PlayerTextDrawHide(playerid,zalogin[0][playerid]);
PlayerTextDrawHide(playerid,zalogin[1][playerid]);
PlayerTextDrawHide(playerid,zalogin[2][playerid]);
PlayerTextDrawHide(playerid,zalogin[3][playerid]);
PlayerTextDrawHide(playerid,zalogin[4][playerid]);
PlayerTextDrawHide(playerid,zalogin[5][playerid]);
PlayerTextDrawHide(playerid,zalogin[6][playerid]);
PlayerTextDrawHide(playerid,zalogin[7][playerid]);
PlayerTextDrawHide(playerid,zalogin[8][playerid]);
PlayerTextDrawHide(playerid,zalogin[9][playerid]);
PlayerTextDrawHide(playerid,zalogin[10][playerid]);
PlayerTextDrawHide(playerid,zalogin[11][playerid]);
//TextDrawShowForPlayer(playerid, OnlineRecord);
//TextDrawShowForPlayer(playerid, RecordPravi);
CancelSelectTextDraw(playerid);
new rand = random(sizeof(RandomSpawn2));
SetSpawnInfo(playerid, 0, PI[playerid][pSkin], RandomSpawn2[rand][0], RandomSpawn2[rand][1], RandomSpawn2[rand][2], RandomSpawn2[rand][3], 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid); GivePlayerMoney(playerid, PI[playerid][pNovacDzep]);
SetPlayerFightingStyle(playerid, PI[playerid][pBorbeniStil]);
SetCameraBehindPlayer(playerid);
UlogovanProvera[playerid] = 1;
OcistiChat(playerid, 10);
new string[256],iskustvo;
iskustvo = (PI[playerid][pLevel] * 2) + 2;
format(string, sizeof(string), ""GLAVNA"(LS:RP): "BELA"Dobrodosli "SIVA"%s "BELA"na Los Santos RoLePlay server!", GetName(playerid));
SCM(playerid, -1, string);
format(string,sizeof(string),""SIVA"Trenutni Level: %d | Respekti: %d/%d | Sati Igre: %d.",PI[playerid][pLevel],PI[playerid][pExp],iskustvo,PI[playerid][pSatiIgre]);
SCM(playerid,-1,string);
}
Slika (neobavezno):
1.http://www.igreklik.com/slike/viewer.php?file=72271276465267136470.jpg
2.http://www.igreklik.com/slike/viewer.php?file=14642728311655968014.jpg
Pa kako mozes ocekivat da ti netko pomogne kad nedas dio skripte?
Citat: TroloveCro poslato Avgust 13, 2014, 23:51:08 POSLE PODNE
Pa kako mozes ocekivat da ti netko pomogne kad nedas dio skripte?
eto :-[
a sta se nece otvorit dialogi? Sta nece tocno?
sta si zadnje radio i da li ti je skripta prenatrpana raznim glupostima ?