19.01.2019, 13:11
You may do something based on this way in the buy house command.
Let's loop tho all houses for example.
After you are done with this, you have to check does the house/ r the house pickup exist. Let's say..
Let's loop tho all houses for example.
Code:
for (hID = 1; hID < MAX_HOUSES; hID++)
Code:
if (!IsValidDynamicPickup(.......[hID][HousePickup])) break; //Free House ID was found.