19.05.2017, 16:00
You fucked yourself up with your data structures so everywhere in your code will need to be updated now to fix this. What you should have is something like this.
new PlayerInfo[playerid][MAX_PLAYER_HOUSES][HouseENUM]
It would be best though to separate your house system from your player interface then you could just save a list of references for each house a player owns which will reduce resources requires. I would just using mysql/sqlite and just save the primary integer keys.
new PlayerInfo[playerid][MAX_PLAYER_HOUSES][HouseENUM]
It would be best though to separate your house system from your player interface then you could just save a list of references for each house a player owns which will reduce resources requires. I would just using mysql/sqlite and just save the primary integer keys.