Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Sandbox.ModAPI.Ingame.IMyTerminalBlock.HasPlayerAccess

Morten Aune Lyrstad edited this page Feb 3, 2022 · 20 revisions

IndexNamespace IndexIMyTerminalBlock

Summary

public bool HasPlayerAccess(long playerId, MyRelationsBetweenPlayerAndBlock defaultNoUser)

Returns if local player can use block. It is also checking for admin access.

Returns

bool

Can player access block or not

Parameters

Clone this wiki locally