La posiciуn de los muebles no se guarda
#4

Ve a OnPlayerEditDynamicObject y pega:

Quote:

else if (PlayerData[playerid][pEditFurniture] != -1 && FurnitureData[PlayerData[playerid][pEditFurniture]][furnitureExists])
{
new id = House_Inside(playerid);

if (id != -1 && House_IsOwner(playerid, id))
{
FurnitureData[PlayerData[playerid][pEditFurniture]][furniturePos][0] = x;
FurnitureData[PlayerData[playerid][pEditFurniture]][furniturePos][1] = y;
FurnitureData[PlayerData[playerid][pEditFurniture]][furniturePos][2] = z;
FurnitureData[PlayerData[playerid][pEditFurniture]][furnitureRot][0] = rx;
FurnitureData[PlayerData[playerid][pEditFurniture]][furnitureRot][1] = ry;
FurnitureData[PlayerData[playerid][pEditFurniture]][furnitureRot][2] = rz;

Furniture_Refresh(PlayerData[playerid][pEditFurniture]);
Furniture_Save(PlayerData[playerid][pEditFurniture]);
}
}

Perdуn por la mala tabulaciуn, cuando pegas lнneas en el foro pasa йsto. De todos modos, puedes tabularlo aquн: http://tabulador.medianewsonline.com/
Reply


Messages In This Thread
La posiciуn de los muebles no se guarda - by Pankeque - 10.01.2016, 21:35
Respuesta: La posiciуn de los muebles no se guarda - by Pankeque - 10.01.2016, 21:38
Respuesta: La posiciуn de los muebles no se guarda - by wharlos - 11.01.2016, 00:31
Re: La posiciуn de los muebles no se guarda - by Marshall2015 - 11.01.2016, 01:19
Respuesta: La posiciуn de los muebles no se guarda - by Pankeque - 11.01.2016, 01:38

Forum Jump:


Users browsing this thread: 3 Guest(s)