Problem with entering
#2

You probably need to increase the size of the following defines:
  • MAX_HOUSES
  • MAX_BIZZ
  • MAX_ENTRANCES
The problem with your code is that if a player tries to enter a house, business or entrance that has a higher ID than the define, it will just ignore it and they won't be able to enter.

For example, if you create a house and its ID is 504, but if MAX_HOUSES is 503, every house up to 503 will be checked, but anything higher will just be ignored.
Reply


Messages In This Thread
Problem with entering - by Universal - 26.12.2011, 07:38
Re: Problem with entering - by Calgon - 26.12.2011, 07:44
Re: Problem with entering - by Universal - 26.12.2011, 07:46
Re: Problem with entering - by Calgon - 26.12.2011, 07:50
Re: Problem with entering - by Universal - 26.12.2011, 07:56
Re: Problem with entering - by Universal - 26.12.2011, 08:23

Forum Jump:


Users browsing this thread: 1 Guest(s)