10.06.2016, 08:46
Quote:
1. Set all house id array to -1 before creating in OnGameModeInit
2. pawn Код:
|
Example:
I'm creating houses. Until now I have created 5 houses.
Enumerators' IDs are:
0, 1, 2, 3, 4, 5.
Now I delete House ID 3. I want that the ID 4 became ID 3, and ID 5 became ID 4, all in a loop.
For ID I mean HouseInfo[that id][....];