Jump to content
  • 0

Ajutor Cu Un Dialog


[RSD]TheBoss

Question

ShowPlayerDialog(playerid,3,DIALOG_STYLE_INPUT,"Rules","Scrie 'Da' Daca Esti De Acord Cu Regulile si nu daca Nu esti De Acord!","Gata","Close");

Bun AM fakut asta si dialogu..

if(response)
{
switch(dialogid)
{
case 1:
{
switch(2)
{
case 0:
{
SendClientMessage(playerid,0x00FF00FF,"Ok Deci Esti De Acord");
}
 }
   }
case 2:
{
switch(2)
{
case 2:
{
SendClientMessage(playerid,0x00FF00FF,"Ai Primit Kick Pentru Ca Nu esti De Acord!");
Kick(playerid);
}
 }
   }
	 }
	 return 1;
		}

Dar nu Functioneaza...Nu vrea Scriu da sau nu este aceaiasi chestia

New GameMode In Development!-Romania Team Gang War-100%!...Datimi doua Motive afrimative de ce sa-l postez si-l postez...

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

M-ai facut sa nu inteleg nimic din ce ai scris in cod :))

if(dialog == id_dialog_reguli) // schimbi cu id dialog reguli
{
    if(response) { SendClientMessage(playerid,0x00FF00FF,"Ok Deci Esti De Acord"); }
    else
    {
        SendClientMessage(playerid,0x00FF00FF,"Ai Primit Kick Pentru Ca Nu esti De Acord!");
        Kick(playerid);
    }
    return 1;
}

Link to comment
Share on other sites

stuntman-=!!" post="51770" timestamp="1296150556"]

M-ai facut sa nu inteleg nimic din ce ai scris in cod :))

if(dialog == id_dialog_reguli) // schimbi cu id dialog reguli
{
    if(response) { SendClientMessage(playerid,0x00FF00FF,"Ok Deci Esti De Acord"); }
    else
    {
        SendClientMessage(playerid,0x00FF00FF,"Ai Primit Kick Pentru Ca Nu esti De Acord!");
        Kick(playerid);
    }
    return 1;
}

MS mult merge

New GameMode In Development!-Romania Team Gang War-100%!...Datimi doua Motive afrimative de ce sa-l postez si-l postez...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.