[pomoc]OnDialogResponse

Započeo DoN, Mart 23, 2011, 19:18:18 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

DoN

*

Skripta koju koristim:LA:RP
Detaljan opis problema:Napravio sam Dialog Login/Register sistem...I napravio sam u Dialogu RP pitanja..E sada sam ubacio u Dialogu za Mjesto,Godine i Spol...Sada mi nece da izbaci pri registraciji RP pitanja....
Dio skripte:public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
new sendername[MAX_PLAYER_NAME];
new string[128];
new ime[MAX_PLAYER_NAME];
GetPlayerName(playerid, ime, sizeof(ime));
new Float:zivot;
GetPlayerHealth(playerid, zivot);
if(response)
{
if(dialogid == 12346 || dialogid == 12347)
{
    if(strlen(inputtext))
    {
new tmppass[64];
strmid(tmppass, inputtext, 0, strlen(inputtext), 255);
OnPlayerLogin(playerid,tmppass);
}
else
{
new loginstring[256];
new loginname[64];
GetPlayerName(playerid,loginname,sizeof(loginname));
format(loginstring,sizeof(loginstring),"{FFFFFF}((POGRESN PASSOWRD))\n\n{F3FF02}Korisnik: {0049FF}%s\n\n{FFFFFF}Provjerite dali vam je CAPS LOCK iskljucen\n\nUpisite ispravnu lozinku za ulazak na server:",loginname);
ShowPlayerDialog(playerid,12347,DIALOG_STYLE_INPUT,"{0049FF}Royall Gaming - Prijava",loginstring,"Prijava","Odustani");
gPlayerLogTries[playerid] += 1;
if(gPlayerLogTries[playerid] == 5) { Ban(playerid); }
}
}
if(dialogid == 12345)
{
    if(strlen(inputtext))
    {
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s.ini", sendername);
new File: hFile = fopen(string, io_read);
if (hFile)
{
SendClientMessage(playerid, COLOR_YELLOW, "To ime vec Koristite neka druga osoba,mozimo vas da izaberete neko drugo.");
fclose(hFile);
return 1;
}
new tmppass[64];
strmid(tmppass, inputtext, 0, strlen(inputtext), 255);
OnPlayerRegister(playerid,tmppass);
}
else
{
new regstring[128];
new regname[64];
GetPlayerName(playerid,regname,sizeof(regname));
    format(regstring,sizeof(regstring),"Dobrodosao na server\n\n{0049FF}%s\n\n{FFFFFF}Vas korisnicki racun nije pronadjen\nMolimo vas registirajte ga:",regname);
ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,"{0049FF}Registracija",regstring,"Registracija","Odustani");
}
}
}
else
{
// Kick(playerid);
}
if(dialogid == 3)
{
  if(RegistrationStep[playerid] == 1)
  {
    if(response)
    {
if(listitem == 0)
    {
        PlayerInfo[playerid][pSex] = 1;
        ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST, "Koliko imate godina?", "10 \n11 \n12 \n13 \n14 \n15 \n16 \n17 \n18 \n11 \n19 \n20 \n21 \n22 \n23 \n24 \n25 \n26 \n27 \n28 \n29 \n30 \n31 \n32 \n33 \n34 \n35 \nVise od 35", "U redu", "Odustani");
        new maleskin;
    maleskin = random(sizeof(CivMalePeds));
    SetPlayerSkin(playerid, maleskin);
    PlayerInfo[playerid][pChar] = maleskin;
        RegistrationStep[playerid] = 2;
    }
    if(listitem == 1)
    {
        PlayerInfo[playerid][pSex] = 2;
        ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST, "Koliko imate godina?", "10 \n11 \n12 \n13 \n14 \n15 \n16 \n17 \n18 \n11 \n19 \n20 \n21 \n22 \n23 \n24 \n25 \n26 \n27 \n28 \n29 \n30 \n31 \n32 \n33 \n34 \n35", "U redu", "Odustani");
        new femaleskin;
    femaleskin = random(sizeof(CivFemalePeds));
    SetPlayerSkin(playerid, femaleskin);
    SetPlayerSkin(playerid, femaleskin);
    PlayerInfo[playerid][pChar] = femaleskin;
        RegistrationStep[playerid] = 2;
    }
    if(listitem == 2) // Kick
    {
        Kick(playerid);
    }
     }
    }
      return 1;
    }
if(dialogid == 4)
{
        if(RegistrationStep[playerid] == 2)
    {
            if(response)
    {
      if(listitem == 0)
    {
        PlayerInfo[playerid][pAge] = 9;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 1)
    {
        PlayerInfo[playerid][pAge] = 10;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 2)
    {
        PlayerInfo[playerid][pAge] = 11;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 3)
    {
        PlayerInfo[playerid][pAge] = 12;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 4)
    {
        PlayerInfo[playerid][pAge] = 13;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 5)
    {
        PlayerInfo[playerid][pAge] = 14;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 6)
    {
        PlayerInfo[playerid][pAge] = 15;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
                            }
    if(listitem == 7)
    {
        PlayerInfo[playerid][pAge] = 16;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 8)
    {
        PlayerInfo[playerid][pAge] = 17;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 9)
    {
        PlayerInfo[playerid][pAge] = 18;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 10)
    {
        PlayerInfo[playerid][pAge] = 19;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 11)
    {
        PlayerInfo[playerid][pAge] = 20;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
                            if(listitem == 12)
    {
        PlayerInfo[playerid][pAge] = 21;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 13)
    {
        PlayerInfo[playerid][pAge] = 22;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 14)
    {
        PlayerInfo[playerid][pAge] = 23;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 15)
    {
        PlayerInfo[playerid][pAge] = 24;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 16)
    {
        PlayerInfo[playerid][pAge] = 25;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 17)
    {
        PlayerInfo[playerid][pAge] = 26;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 18)
    {
        PlayerInfo[playerid][pAge] = 27;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 19)
    {
        PlayerInfo[playerid][pAge] = 28;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 20)
    {
        PlayerInfo[playerid][pAge] = 29;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 21)
    {
        PlayerInfo[playerid][pAge] = 30;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 22)
    {
        PlayerInfo[playerid][pAge] = 31;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 23)
    {
        PlayerInfo[playerid][pAge] = 32;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 24)
    {
        PlayerInfo[playerid][pAge] = 33;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 25)
    {
        PlayerInfo[playerid][pAge] = 34;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Bosna i Hercegovina \nSrbija \nCrnaGora \nHrvatska \nMakedonija \nSlovenija \nGrcka \nAlbanija \nKosovo", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
            }
            if(listitem == 26)
    {
        Kick(playerid);
    }
      }
}
return 1;
}
if(dialogid == 5)
{
    if(RegistrationStep[playerid] == 3)
    {
    if(response)
    {
    if(listitem == 0)
    {
        PlayerInfo[playerid][pOrigin] = 1;
        RegistrationStep[playerid] = 0;
PlayerInfo[playerid][pTut] = 1;
MedicBill[playerid] = 0;
SetPlayerSpawn(playerid);
TogglePlayerControllable(playerid, 1);
SafeGivePlayerMoney(playerid, 500);
    return 0;
    }
    if(listitem == 1)
    {
        PlayerInfo[playerid][pOrigin] = 2;
        RegistrationStep[playerid] = 0;
PlayerInfo[playerid][pTut] = 1;
MedicBill[playerid] = 0;
SetPlayerSpawn(playerid);
TogglePlayerControllable(playerid, 1);
SafeGivePlayerMoney(playerid, 500);
    return 0;
    }
    if(listitem == 2)
    {
        PlayerInfo[playerid][pOrigin] = 3;
        RegistrationStep[playerid] = 0;
PlayerInfo[playerid][pTut] = 1;
MedicBill[playerid] = 0;
SetPlayerSpawn(playerid);
TogglePlayerControllable(playerid, 1);
SafeGivePlayerMoney(playerid, 500);
    return 0;
    }
    if(listitem == 3)
    {
        PlayerInfo[playerid][pOrigin] = 4;
        RegistrationStep[playerid] = 0;
PlayerInfo[playerid][pTut] = 1;
MedicBill[playerid] = 0;
SetPlayerSpawn(playerid);
TogglePlayerControllable(playerid, 1);
SafeGivePlayerMoney(playerid, 500);
    return 0;
    }
    if(listitem == 4)
    {
        PlayerInfo[playerid][pOrigin] = 5;
        RegistrationStep[playerid] = 0;
PlayerInfo[playerid][pTut] = 1;
MedicBill[playerid] = 0;
SetPlayerSpawn(playerid);
TogglePlayerControllable(playerid, 1);
SafeGivePlayerMoney(playerid, 500);
    return 0;
    }
    if(listitem == 5)
    {
        PlayerInfo[playerid][pOrigin] = 6;
        RegistrationStep[playerid] = 0;
PlayerInfo[playerid][pTut] = 1;
MedicBill[playerid] = 0;
SetPlayerSpawn(playerid);
TogglePlayerControllable(playerid, 1);
SafeGivePlayerMoney(playerid, 500);
    return 0;
    }
    if(listitem == 6)
    {
        PlayerInfo[playerid][pOrigin] = 7;
        RegistrationStep[playerid] = 0;
PlayerInfo[playerid][pTut] = 1;
MedicBill[playerid] = 0;
SetPlayerSpawn(playerid);
TogglePlayerControllable(playerid, 1);
SafeGivePlayerMoney(playerid, 500);
    return 0;
    }
    if(listitem == 7)
    {
        PlayerInfo[playerid][pOrigin] = 8;
        RegistrationStep[playerid] = 0;
PlayerInfo[playerid][pTut] = 1;
MedicBill[playerid] = 0;
SetPlayerSpawn(playerid);
TogglePlayerControllable(playerid, 1);
SafeGivePlayerMoney(playerid, 500);
    return 0;
    }
    if(listitem == 8)
    {
        PlayerInfo[playerid][pOrigin] = 9;
        RegistrationStep[playerid] = 0;
PlayerInfo[playerid][pTut] = 1;
MedicBill[playerid] = 0;
SetPlayerSpawn(playerid);
TogglePlayerControllable(playerid, 1);
SafeGivePlayerMoney(playerid, 500);
    return 0;
    }
    if(listitem == 9)
    {
        Kick(playerid);
    }
      }
}
}
         if(dialogid == 333 && response)
         {
          switch(listitem)
          {
            case 0:
            {
            SendClientMessage(playerid,COLOR_GREEN,"Tacno");
            ShowPlayerDialog(playerid, 1903, DIALOG_STYLE_LIST, "Sta je Death Match?","Ubijanje bez razloga\nSkakanja sa jedne zgrade na drugu\nGazenje ljudi vozilom","Izaberi", "Odustani");
            ClearChatbox(playerid, 10);
            }
            case 1:
            {
            SendClientMessage(playerid,COLOR_RED,"Netacno,vracamo vas na tutorial!");
            TutTime[playerid] = 1;
            }
            case 2:
            {
            SendClientMessage(playerid,COLOR_RED,"Netacno,vracamo vas na tutorial!");
            TutTime[playerid] = 1;
            }
          }
        }
        else if(dialogid == 333 && !response) return  Kick(playerid);

        if(dialogid == 1903 && response)
         {
          switch(listitem)
          {
            case 0:
            {
            SendClientMessage(playerid,COLOR_GREEN,"Tacno");
            ShowPlayerDialog(playerid, 1904, DIALOG_STYLE_LIST, "Sta je Spawn Kill?","Izbegavanje metkova ko matrix\nUbijanje ljudi na mestu stvaranja","Izaberi", "Odustani");
            ClearChatbox(playerid, 10);
}
            case 1:
            {
            SendClientMessage(playerid,COLOR_RED,"Netacno,vracamo vas na tutorial!");
            TutTime[playerid] = 1;
            }
            case 2:
            {
            SendClientMessage(playerid,COLOR_RED,"Netacno,vracamo vas na tutorial!");
            TutTime[playerid] = 1;
            }
          }
        }
        else if(dialogid == 333 && !response) return  Kick(playerid);

        if(dialogid == 1904 && response)
         {
          switch(listitem)
          {
            case 0:
            {
            SendClientMessage(playerid,COLOR_RED,"Netacno,vracamo vas na tutorial!");
            TutTime[playerid] = 1;
            }
            case 1:
            {
            SendClientMessage(playerid,COLOR_GREEN,"Tacno");
            ShowPlayerDialog(playerid, 1905, DIALOG_STYLE_LIST, "Sta je Ravange Kill?","Neprestano skakanje\nUbijanje iz osvete","Izaberi", "Odustani");
            ClearChatbox(playerid, 10);
}
          }
        }
        else if(dialogid == 333 && !response) return  Kick(playerid);

        if(dialogid == 1905 && response)
         {
          switch(listitem)
          {
            case 0:
            {
            SendClientMessage(playerid,COLOR_RED,"Netacno,vracamo vas na tutorial!");
            TutTime[playerid] = 1;
            }
            case 1:
            {
            SendClientMessage(playerid,COLOR_GREEN,"Tacno");
            ShowPlayerDialog(playerid, 1906, DIALOG_STYLE_LIST, "Kojom se stranom vozi?","Levom\nDesnom","Izaberi", "Odustani");
            ClearChatbox(playerid, 10);
}
          }
        }
        else if(dialogid == 333 && !response) return  Kick(playerid);

        if(dialogid == 1906 && response)
         {
          switch(listitem)
          {
            case 0:
            {
            SendClientMessage(playerid,COLOR_RED,"Netacno,vracamo vas na tutorial!");
            TutTime[playerid] = 1;
            }
            case 1:
            {
            SendClientMessage(playerid,COLOR_GREEN,"Tacno");
            ShowPlayerDialog(playerid, 1907, DIALOG_STYLE_LIST, "Sta cete uraditi ako vidite da neko Koristite cheat?","Pitacu ga gde je skinuo i kako se Koristite\nPrijavicu ga na /report da ga banuju","Izaberi", "Odustani");
            ClearChatbox(playerid, 10);
}
          }
        }
        else if(dialogid == 333 && !response) return  Kick(playerid);

        if(dialogid == 1907 && response)
         {
          switch(listitem)
          {
            case 0:
            {
            SendClientMessage(playerid,COLOR_RED,"Netacno,vracamo vas na tutorial!");
            TutTime[playerid] = 1;
            }
            case 1:
            {
            SendClientMessage(playerid,COLOR_GREEN,"Tacno");
            ShowPlayerDialog(playerid, 1908, DIALOG_STYLE_LIST, "Sta je Drive By?","To je kada neko brzo vozi\nTo je ubijanje ljudi sa vozckag mesta","Izaberi", "Odustani");
            ClearChatbox(playerid, 10);
}
          }
        }
        else if(dialogid == 333 && !response) return  Kick(playerid);

        if(dialogid == 1908 && response)
         {
          switch(listitem)
          {
            case 0:
            {
            SendClientMessage(playerid,COLOR_RED,"Netacno,vracamo vas na tutorial!");
            TutTime[playerid] = 1;
            }
            case 1:
            {
            SendClientMessage(playerid,COLOR_GREEN,"Tacno");
            ShowPlayerDialog(playerid, 1909, DIALOG_STYLE_LIST, "Sta je Spam?","To je iskazivanje radnje igraca na /me\nPisanje iste recenice ili reci vise puta","Izaberi", "Odustani");
            ClearChatbox(playerid, 10);
}
          }
        }
        else if(dialogid == 333 && !response) return  Kick(playerid);

        if(dialogid == 1909 && response)
         {
          switch(listitem)
          {
            case 0:
            {
            SendClientMessage(playerid,COLOR_RED,"Netacno,vracamo vas na tutorial!");
            TutTime[playerid] = 1;
            }
            case 1:
            {
            SendClientMessage(playerid,COLOR_GREEN,"Tacno");
            ShowPlayerDialog(playerid, 1910, DIALOG_STYLE_LIST, "Sta je Bug Abuse?","To je dozvoljeno na svim RP serverima\nIskoriscavanje bugova na serveru","Izaberi", "Odustani");
            ClearChatbox(playerid, 10);
}
          }
        }
        else if(dialogid == 333 && !response) return  Kick(playerid);

        if(dialogid == 1910 && response)
         {
          switch(listitem)
          {
            case 0:
            {
            SendClientMessage(playerid,COLOR_RED,"Netacno,vracamo vas na tutorial!");
            TutTime[playerid] = 1;
            }
            case 1:
            {
            SendClientMessage(playerid,COLOR_RED,"-------------------------------------------------------------------------------------------------------------------------------------------");
            SendClientMessage(playerid,COLOR_GREEN,"Tocno ste odgovorili na sva pitanja sto nam govori da znate sva RP praila.");
            SendClientMessage(playerid,COLOR_WHITE,"Dobrodosli na Royall Gaming server,zabavite se.");
            SendClientMessage(playerid,COLOR_WHITE,"Molimo vas postujte sva /pravila i /zakoni kako bi igra bila bolja i zabavnija.");
            SendClientMessage(playerid,COLOR_WHITE,"Za pocetak nadjite posao i zaradite novac da bi ste kupili neke osnovne stvari.");
            SendClientMessage(playerid,COLOR_WHITE,"Ugodnu i Zabavnu igru na serveru zeli Vam Royall Team.");
            SendClientMessage(playerid,COLOR_RED,"-------------------------------------------------------------------------------------------------------------------------------------------");
            SafeGivePlayerMoney(playerid, 1500);
            }
          }
        }
        else if(dialogid == 333 && !response) return  Kick(playerid);
return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Najbolji i najpovoljniji Game i Web hosting na balkanu
Ako želiš Game ili Web host od Game Hr-a obrati mi se na PM
Trenutno radim na projektu RG:RP..
Neodgovaram na bezveze PM-ove..
Royall Gaming RolePlay

Najbolji citati
Citat: Nikola_Hawks poslato Mart 23, 2011, 19:25:24 POSLE PODNE
Skripta koju koristim:GTA RP Od 0