Help!How to add male/female dialogue
#6

PHP код:
#define DIALOG_SEXSELECTION (0)
ShowPlayerDialog(playeridDIALOG_SEXSELECTIONDIALOG_STYLE_LIST"Please Choose Your Gender","Male\nFemale","Select","Cancel");
public 
OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    switch(
dialogid)
    {
        case 
DIALOG_SEXSELECTION:
        {
            if(
response)
            switch(
listitem)
            {
                case 
0:SetPlayerSkin(playeridFEMALESKIN);
                case 
1:SetPlayerSkin(playeridMALESKIN);
            }
        }
    }
    return 
1;

Reply


Messages In This Thread
Help!How to add male/female dialogue - by [Headless] - 18.09.2011, 10:55
Re: Help!How to add male/female dialogue - by MadSkillz - 18.09.2011, 11:11
Re: Help!How to add male/female dialogue - by [Headless] - 18.09.2011, 11:33
Re: Help!How to add male/female dialogue - by PhoenixB - 18.09.2011, 11:37
Re: Help!How to add male/female dialogue - by [Headless] - 18.09.2011, 12:12
Re: Help!How to add male/female dialogue - by doreto - 18.09.2011, 13:36
Re: Help!How to add male/female dialogue - by PhoenixB - 22.09.2011, 11:16

Forum Jump:


Users browsing this thread: 1 Guest(s)