18.03.2015, 15:37
pawn Код:
#define MAX_HOUSES 3
Use your variable to check the houses owned by the player:
pawn Код:
if(pHouses[playerid] > MAX_HOUSES) return SendClientMessage(playerid, -1, "You have the maximum amount of houses.");
The post above is correct, I felt like doing this in a different way.