stock IsPlayerOwner(){ if(hBuyer[playerid] != houseowner) // you have to use your house var or enum to make it also loop all houses { return 1; } return 0;}