How can I make it where only a specific player can access certain functions?

Where a function only works if the specific player (Agent) activates it?

you would have to save the agent somehow let’s say this function is used to save the agent

var SavedAgent : ?agent = false
SaveAgent(Agent:agent):void=
   set SavedAgent = option{Agent}

And then on the main function you can compare against him

MainFunction(Agent:agent):void=
     if(Agent=SavedAgent?):
            StuffHere

Thanks MineBlo

1 Like

Happy to help <3