11.01.2016, 01:19
Ve a OnPlayerEditDynamicObject y pega:
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/
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]); } } |