27.10.2010, 20:03
Quote:
I think I've had the same problem. It loops trough all houses and checks if you are close to ANY of the houses, what the problem is is that if you have the same interior for multiple houses (so the same exit point aswell) it will find the all the houses with the same exit point thus it sends that ammount of messages. How I fixed it is using virtual worlds aswell to seperate each house (each house has his own virtual world you also look if that matches so you'll only get the house you're in, there are 2 billion+ virtual worlds availible, so don't worry about restrictions)
Sorry if it only confused you more, I can give you a better detailed example tommorow I don't have time now. |
Thank you. I actually had a own virtual world for every single house but I only had to add the statement of my HouseEntered variable like "if(HouseEntered[playerid] == h) etc. It works fine now.