13.11.2015, 11:53
At the part where you set the IsMovingFurniture[playerid] to true.
Add this:
And then in the OnPlayerEditObject callback, use this:
Add this:
PHP код:
SetPVarInt(playerid, "SelFurnObj", ID_OF_FURN); //Replace the ID_OF_FURN with the ID where you set the above variable to true.
PHP код:
new furnID = GetPVarInt(playerid, "SelFurnObj");