Jump to content
Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Sign in to follow this  
Disretired

Help with script issue

Recommended Posts

Hello so me and my buddy have a private mod that we play law enforcement only on & we would like to have another functional station on the map,
I have edited a copy of latopolicestation for the departments we have built stations for in game and I'm getting an error in line 211 if i click retry a few times it does go to station but the error is an annoying issue and they wont unload prisoners for some reason,

If someone could tell me how to or would help fix it for me that would be greatly appreciated .

LAToLasdStation.script

LAToChpStation.script

Share this post


Link to post
Share on other sites
13 hours ago, itchboy said:

CMD_ToChpStation needs to be in all capital letters.

https://www.dropbox.com/s/xmrocokc8fcdv2o/LAToChpStation.script?dl=0

Here is a corrected copy.

Ok so this is the one i'm using now and the cars work great but the CHP heli refuses to work i keep getting an error when trying to send it to station, Any ideas? LASD's heli worked fine just chp for some reason

LAToChpStation.script

Share this post


Link to post
Share on other sites
1 minute ago, Disretired said:

Ok so this is the one i'm using now and the cars work great but the CHP heli refuses to work i keep getting an error when trying to send it to station, Any ideas? LASD's heli worked fine just chp for some reason

What error and at what line?

Share this post


Link to post
Share on other sites

You need to have a helipad named "chpstation_helipad" on your map. The error is being thrown because the game cannot find the helipad object, so it doesnt know what Policestation (line 236) refers to.

Share this post


Link to post
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.

Sign in to follow this  

×
×
  • Create New...