03.09.2015, 05:00
bueno tengo un problema cree un comando para mostrar las opciones de comprar muebles pero no da al ingresar el comando no hace nada este es el comando:
y esta es la funcion showfurnituremenu
Код:
CMD:cmueble(playerid, params[]){
new titlestring[32];
if ( PlayersData[playerid][IsPlayerInHouse] )
{
ShowFurnitureMenu(playerid);
}
else return SendClientMessage(playerid, COLOR_GREY, "* No estбs en ninguna casa.");
return 1;
}
Код:
stock ShowFurnitureMenu(playerid)
{
new titlestring[32];
ShowPlayerDialog(playerid, DIALOG_BUY_FURNITURE, DIALOG_STYLE_LIST, titlestring, "Dormitorio\nComedor\nBaсo\nLobby\nCocina\nElectrуnica\nParedes\nOtros", "Comprar", "Cancelar");
return 1;
}

