• 0
DanZz

Set Code on safe's

Question

Hi 

 

On my server when people try changing the safe code it kicks them with this error:

 

"mNetId _objectID;
if !(isNull _object) then
{
_object setVariable ["ExileAlreadyKnownCode",_this select 2];
};
(_this select 0) "

 

I tried putting !="mNetId _objectID;\nif !(isNull _object) then\n{\n_object setVariable ["ExileAlreadyKnownCode",_this select 2];\n};\n(_this select 0) "

 

But still no luck any ideas?

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

Maybe a stupid question but, did you reload the filters using an rcon tool or restart the server? 

Share this post


Link to post
Share on other sites
  • 0

!"mNetId _objectID;\nif !(isNull _object) then\n{\n_object setVariable ["ExileAlreadyKnownCode",_this select 2];\n};\n(_this select 0) "

Edited by yellow|avdieking
1 person likes this

Share this post


Link to post
Share on other sites
Advertisement
  • 0
13 hours ago, yellow|avdieking said:

at line where setvariable is in

Ok I will try this

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.