I'm the bottomfrag

[Solved] Locks

3 posts in this topic

Hello,

I've been snooping around the exile_server code for where the server caches if a user has entered a pin code,
I'd like to persist if a player knows a pin code in a database and then when the player joins, load all pin codes they know  (checking the current pin code on the object vs the one we stored for the player)
I already have the table made, I'm just trying to find the mechanism to 'tell' exile i know the code for x object.
any help would be greatly appreciated.

Thanks.
Marshall.

Edited by I'm the bottomfrag
Solved
  • Like 1

Share this post


Link to post
Share on other sites
16 hours ago, I'm the bottomfrag said:

Hello,

I've been snooping around the exile_server code for where the server caches if a user has entered a pin code,
I'd like to persist if a player knows a pin code in a database and then when the player joins, load all pin codes they know  (checking the current pin code on the object vs the one we stored for the player)
I already have the table made, I'm just trying to find the mechanism to 'tell' exile i know the code for x object.
any help would be greatly appreciated.

Thanks.
Marshall.

_vehicle setVariable ["ExileAlreadyKnownCode", _pincode];

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.