Jump to content
TheAxeMan33

LAToPoliceStation Assistance

Recommended Posts

  Reveal hidden contents

I've been trying to get additional parking spots to work, because I find that the map is too big for me to keep track of my PD, as they always tend to create horrible traffic jams during big fire operations. I added the proper Virtual Objects into both freeplay maps, named them properly, added const char variables, etc. Park04-Park06 are the ones I added, Park01-Park03 were left unchanged and still work. The game seems to not recognize that there are more spots, I added in a hint system exactly like the helicopter one for when there is a heli on the pad already, and it's giving me the message that all spots are taken for Park04-Park06, but no objects are inside the objects or such. Any help would be much appreciated.

Link to comment
Share on other sites

On the added two spots, this line is repeating.

if (l4.GetNumObjects() == 0)

The new spots dont work because you are pointing to the wrong GameObjectList variable. l4 in this case refers to park #3 so it ends up registering as full for 4, 5 and 6, even if they are empty.

Simply assign the GetNumObject lines of the added spots to the correct list variables. l5, l6 and l7 in your case.

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...