29.01.2012, 11:05
pawn Код:
#define DIALOG_GEN 8000
// On Register
ShowPlayerDialog(playerid,DIALOG_GEN,DIALOG_STYLE_MSGBOX,"{FFFFCC}Gen", "{FFFFFF}Esti de sex {FFFFCC}masculin {FFFFFF}sau {FFFFCC}feminim{FFFFFF} te rugam alege mai jos.","Male","Female");
// OnDialogResponse
switch( dialogid )
{
case DIALOG_GEN:
{
switch( listitem )
{
case 0:
{
// Code for Button 1
}
case 1:
{
// Code for Button 2
}
}
}
}