[Pomoc] Tut

Započeo MicroSD_, Mart 03, 2011, 22:49:53 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim: Cyber - editiram
Detaljan opis problema: Ovako, ne pocinje mi TUT kada novi igrac dode na server,  i onda kad  se ne regaju igraci ne vide /ad, /o /f chatove, kako to mogu napraviti da pocne tut
Dio skripte: /
Neke slike/video za lakse dobivanje pomoci(neobavezno): /

Ceo System registracije,popunjavanje spola/godina itd... je stavljen pod /* zbog nekih bugova i tim je uklonjen i TuT! Ostalo je samo Login/Register

sta onda taj tut se ne moze napravit ?

Citat: Cody poslato Mart 05, 2011, 12:19:46 POSLE PODNE
sta onda taj tut se ne moze napravit ?
Sve se moze popravit!
Napisao ti je..
Citat: joXy poslato Mart 03, 2011, 22:53:47 POSLE PODNE
Ceo System registracije,popunjavanje spola/godina itd... je stavljen pod /* zbog nekih bugova i tim je uklonjen i TuT! Ostalo je samo Login/Register
Ti vratis to sve u GM (uncomment xd) compilas, vidis bugove & popravis :D

napravio sam to sa /* i sada imam problem

kad dodem na server dode mi da odaberem spol, godine i drzavu, i sve to napravim i odna mi se to cijelo vrijeme otvaran...

evo kod
if(dialogid == 5)//Registracija 2 korak
{
if(response)
{
if(listitem == 0)
{
    PlayerInfo[playerid][pAge] = 10;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
    if(listitem == 1)
{
    PlayerInfo[playerid][pAge] = 11;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
      }
    if(listitem == 2)
{
    PlayerInfo[playerid][pAge] = 12;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
      }
    if(listitem == 3)
{
    PlayerInfo[playerid][pAge] = 13;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
   }
   if(listitem == 4)
{
    PlayerInfo[playerid][pAge] = 14;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
    if(listitem == 5)
{
    PlayerInfo[playerid][pAge] = 15;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
    if(listitem == 6)
{
    PlayerInfo[playerid][pAge] = 16;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
    if(listitem == 7)
{
    PlayerInfo[playerid][pAge] = 17;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
    if(listitem == 8)
{
    PlayerInfo[playerid][pAge] = 18;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
    if(listitem == 9)
{
    PlayerInfo[playerid][pAge] = 19;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
    if(listitem == 10)
{
    PlayerInfo[playerid][pAge] = 20;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
    if(listitem == 11)
{
    PlayerInfo[playerid][pAge] = 21;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
    if(listitem == 12)
{
    PlayerInfo[playerid][pAge] = 22;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
    if(listitem == 13)
{
    PlayerInfo[playerid][pAge] = 23;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
    if(listitem == 14)
{
    PlayerInfo[playerid][pAge] = 24;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
    if(listitem == 15)
{
    PlayerInfo[playerid][pAge] = 25;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 16)
{
    PlayerInfo[playerid][pAge] = 26;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 17)
{
    PlayerInfo[playerid][pAge] = 27;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 18)
{
    PlayerInfo[playerid][pAge] = 28;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 19)
{
    PlayerInfo[playerid][pAge] = 29;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 20)
{
    PlayerInfo[playerid][pAge] = 30;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 21)
{
    PlayerInfo[playerid][pAge] = 31;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 22)
{
    PlayerInfo[playerid][pAge] = 32;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 23)
{
    PlayerInfo[playerid][pAge] = 33;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mjesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 24)
{
    PlayerInfo[playerid][pAge] = 34;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 25)
{
    PlayerInfo[playerid][pAge] = 35;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 26)
{
    PlayerInfo[playerid][pAge] = 36;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 27)
{
    PlayerInfo[playerid][pAge] = 37;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 28)
{
    PlayerInfo[playerid][pAge] = 38;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
  if(listitem == 29)
{
    PlayerInfo[playerid][pAge] = 39;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 30)
{
    PlayerInfo[playerid][pAge] = 40;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 31)
{
    PlayerInfo[playerid][pAge] = 41;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 32)
{
    PlayerInfo[playerid][pAge] = 42;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 33)
{
    PlayerInfo[playerid][pAge] = 43;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 34)
{
    PlayerInfo[playerid][pAge] = 44;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 35)
{
    PlayerInfo[playerid][pAge] = 45;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 36)
{
    PlayerInfo[playerid][pAge] = 46;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 37)
{
    PlayerInfo[playerid][pAge] = 47;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 38)
{
    PlayerInfo[playerid][pAge] = 48;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 39)
{
    PlayerInfo[playerid][pAge] = 49;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
if(listitem == 40)
{
    PlayerInfo[playerid][pAge] = 50;
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Odaberite Mesto Rodjenja", " {00CC66}Hrvatska \n {00CC66}Srbija \n {00CC66}Bosna i Herzegovina \n {00CC66}Slovenija \n {00CC66}Makedonija", "U redu", "Odustani");
    }
}
}

if(dialogid == 4)//Registracija 1 korak
{
if(response)
{
if(listitem == 0)
{
    PlayerInfo[playerid][pSex] = 1;
    ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Koliko imate godina?", " {00CC66}10 \n 11 \n {00CC66}12 \n 13 \n {00CC66}14 \n 15 \n {00CC66}16 \n 17 \n {00CC66}18 \n 19 \n {00CC66}20 \n 21 \n {00CC66}22 \n 23 \n {00CC66}24 \n 25 \n {00CC66}26 \n 27 \n {00CC66}28 \n 29 \n {00CC66}30 \n 31 \n 32 \n 33 \n 34 \n 35 \n 36 \n 37 \n 38 \n 39 \n 40 \n 41 \n 42 \n 43 \n 44 \n 45 \n 46 \n 47 \n 48 \n 49 \n 50 ", "U redu", "Odustani");
    }
if(listitem == 1)
{
    PlayerInfo[playerid][pSex] = 2;
ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Koliko imate godina?", " {00CC66}10 \n 11 \n {00CC66}12 \n 13 \n {00CC66}14 \n 15 \n {00CC66}16 \n 17 \n {00CC66}18 \n 19 \n {00CC66}20 \n 21 \n {00CC66}22 \n 23 \n {00CC66}24 \n 25 \n {00CC66}26 \n 27 \n {00CC66}28 \n 29 \n {00CC66}30 \n 31 \n 32 \n 33 \n 34 \n 35 \n 36 \n 37 \n 38 \n 39 \n 40 \n 41 \n 42 \n 43 \n 44 \n 45 \n 46 \n 47 \n 48 \n 49 \n 50 ", "U redu", "Odustani");
      }
}
}