Help!How to add male/female dialogue
#5

Quote:
Originally Posted by PhoenixB
Посмотреть сообщение
Hmm, make something like

pawn Код:
ShowPlayerDialog(playerid, DIALOG_SEXSELECTION, DIALOG_STYLE_LIST, "Please Choose Your Gender","Male\nFemale","Select","Cancel");

#define DIALOG_SEXSELECTION

case DIALOG_SEXSELECTION:
{

    if(listitem == 0)
    {
        SetPlayerSkin(playerid, MALESKIN); // Male Skin ID in MALESKIN
    }
    if(listitem == 1)
    {
        SetPlayerSkin(playerid, FEMALESKIN); // Female Skin ID in FEMALESKIN
    }

}
Its upto you to figure out where they go
I've got error saying:
Код:
C:\Program Files\Rockstar Games\GTA San Andreas\Server\SAMP\gamemodes\test1.pwn(111) : error 017: undefined symbol "DIALOG_SEXSELECTION"
C:\Program Files\Rockstar Games\GTA San Andreas\Server\SAMP\gamemodes\test1.pwn(116) : error 029: invalid expression, assumed zero
C:\Program Files\Rockstar Games\GTA San Andreas\Server\SAMP\gamemodes\test1.pwn(119) : error 017: undefined symbol "listitem"
C:\Program Files\Rockstar Games\GTA San Andreas\Server\SAMP\gamemodes\test1.pwn(123) : error 017: undefined symbol "listitem"
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)