06.12.2011, 19:18
pawn Код:
if(dialogid == SEXO) {
if(response) {
SendClientMessage(playerid,0x0000FF74,"Ok,vocк й homem");
PlayerInfo[playerid][pSexo] = 1;
SetPlayerSkin(playerid,23);
}
else {
SendClientMessage(playerid,0xF760FFAA,"Ok vocк й mulher");
PlayerInfo[playerid][pSexo] = 2;
SetPlayerSkin(playerid,192);
}
return 1;
}
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
aonde pra coloca isso eu ja tenho....
pawn Код:
enum pInfo
{
pAdmin,
pSexo,
pAge
};
new PlayerInfo[MAX_PLAYERS][pInfo];