13.11.2015, 12:16
Quote:
At the part where you set the IsMovingFurniture[playerid] to true.
Add this: PHP код:
PHP код:
|
I've attempted something similar to this in the past but then I couldn't actually update the enums for that furniture, as I may have the objectid but there is no way to actually get the 'loop number' that matches the data stored for it on the enum, for example.
pawn Код:
HouseFurni[ (INDEX) ] [FurnitureX] = fX;
HouseFurni[ (INDEX)] [FurnitureY] = fY;
HouseFurni[ (INDEX)] [FurnitureZ] = fZ;
HouseFurni[ (INDEX)] [FurnitureRX] = fRotX;
HouseFurni[ (INDEX)] [FurnitureRY] = fRotY;
HouseFurni[ (INDEX)] [FurnitureRZ] = fRotZ;