Jump to content
Sign in to follow this  
tay-uk

Help on an Addaction Lock/Unlock script

Recommended Posts

Hello, Im pretty new to editing but I am after a way of being able to lock/unlock named vehicles by the use of an addaction on an object.

What I have done so far works on my own server on multi player but on a dedi server it doesn't. Would anyone know what I would have to do to make it work on a dedi server?

My helicopter is spawned locked and is named "John" I would like to go to an object with the addaction "Unlock John" and "Lock John"

The addactions call 2 small scripts

lockJohn.sqf

John lock true

Unlockjohn.sqf

John lock false

Which should be simple enough, like I say it works perfectly well in multi player on own server, but on a dedi doesn't work at all. I am hopeful that someone will be able to help.

Thanks in advance.

Tay-uk

Share this post


Link to post
Share on other sites
Hi Tay,

Maybe something in here might help.

http://forums.bistudio.com/showthread.php?t=100176

I know very little about scripting but I think this guy is trying to get the same end result. i.e. restricting access to vehicles.

=WBG=Miller ;)

Well done Miller, that post you linked solved the issue, what a find!!!!!

Share this post


Link to post
Share on other sites

Would this by any chance be for the choppers in our server?

Share this post


Link to post
Share on other sites
Would this by any chance be for the choppers in our server?

Strangely yes :D

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×