03.02.2018, 17:16
Quote:
Using then, if another player also agrees to sell the house to another person, would not the value change at all?
That is, at the same time X sells to Y and X2 sells to Y2 |
PHP код:
// when offers
SetPVarInt(X,"House",House[Y]);
SetPVarInt(Y,"House",House[X]);
// when accepts or idk.
HouseID[X] = GetPVarInt(X,"House");
HouseID[Y] = GetPVarInt(Y,"House");