Jump to content
jmuirhead

[Tutorial] Zip Ties

Recommended Posts

20 hours ago, Jack VenoM said:

So i can now restrain cops, escort them and put them in vehicles but i  cannot unrestrain them nor pull them out vehicles, any help would be appreciated...  @imthatguyhere

...

would that work??

I can't think of any reason the unrestrain wouldn't work, do they just not get the menu when they windows key? (You should be able to lockpick out as well I believe).

As for the pullOutVeh, change:

if (playerSide isEqualTo west || (isNull objectParent player)) exitWith {};

or
  
if(playerSide == west OR (vehicle player == player)) exitWith {};

to
 

if (isNull objectParent player) exitWith {};

That check is stopping the cop from being pulled out.

Share this post


Link to post
Share on other sites
1 hour ago, imthatguyhere said:

I can't think of any reason the unrestrain wouldn't work, do they just not get the menu when they windows key? (You should be able to lockpick out as well I believe).

As for the pullOutVeh, change:

if (playerSide isEqualTo west || (isNull objectParent player)) exitWith {};

or
  
if(playerSide == west OR (vehicle player == player)) exitWith {};

to
 

if (isNull objectParent player) exitWith {};

 That check is stopping the cop from being pulled out.

Thanks buddy i'll give it a bash, im not sure why the unrestrain doesnt work, it is on the menu, ill give lockpicks a bash too.

Share this post


Link to post
Share on other sites
1 hour ago, imthatguyhere said:

I can't think of any reason the unrestrain wouldn't work, do they just not get the menu when they windows key? (You should be able to lockpick out as well I believe).

As for the pullOutVeh, change:

if (playerSide isEqualTo west || (isNull objectParent player)) exitWith {};

or
  
if(playerSide == west OR (vehicle player == player)) exitWith {};

to
 

if (isNull objectParent player) exitWith {};

 That check is stopping the cop from being pulled out.

ok im dumb, i meant to say stop escorting, the stop escorting doesn't work, unrestrain does, that pull out worked perfect tho!

Share this post


Link to post
Share on other sites
50 minutes ago, Jack VenoM said:

ok im dumb, i meant to say stop escorting, the stop escorting doesn't work, unrestrain does, that pull out worked perfect tho!

Weird, there should be anything stopping them from stopping the escorting, there's no sidecheck in that script.

There is one that won't allow you to escort cops you may need to remove:
https://github.com/AsYetUntitled/Framework/blob/master/Altis_Life.Altis/core/actions/fn_escortAction.sqf#L13

Share this post


Link to post
Share on other sites
2 minutes ago, imthatguyhere said:

Weird, there should be anything stopping them from stopping the escorting, there's no sidecheck in that script.

There is one that won't allow you to escort cops you may need to remove:
https://github.com/AsYetUntitled/Framework/blob/master/Altis_Life.Altis/core/actions/fn_escortAction.sqf#L13

Not a clue, i added 'west' into that line?

Share this post


Link to post
Share on other sites
36 minutes ago, Jack VenoM said:

Not a clue, i added 'west' into that line?

That would work, or just removing it unless you have a 4th side active on your server.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×