11.03.2016, 11:42
Well, every hID is initialized to 0 by default and you are checking if it's equal to -1, since it will never be -1, you are always getting a message that all the house slots are full.
Do something like:
Do something like:
pawn Код:
// under OnGameModeInit
for(new i=0; i < MAX_HOUSES; i++)
hInfo[i][hID] = INVALID_HOUSE_ID;