01.05.2013, 23:43
Ola
Vocк esqueceu 1 coisa
Tenta assim;
Espero ajudar
PT
Vocк esqueceu 1 coisa
Tenta assim;
pawn Код:
//--------------- Define's ------------
#define sexo 21312
//-------- comando -------------------
CMD:sexo(playerid, params[])
{
ShowPlayerDialog(playerid, sexo, DIALOG_STYLE_MSGBOX, "{FFA500}"#SERVER_NAME" - Registration", "{FFFFFF}Select you sex:", "Male", "Female");
return 1;
}
//------- public OnDialogResponse ----
if(dialogid == sexo)
{
if(response == 1)
{
PlayerInfo[playerid][pSex] = 1;
PlayerInfo[playerid][pModel] = 299;
}
else
{
PlayerInfo[playerid][pSex] = 2;
PlayerInfo[playerid][pModel] = 55;
}
return 1;
}
PT