-
Notifications
You must be signed in to change notification settings - Fork 68
Server Command p_finduid
Pazaz edited this page Nov 24, 2023
·
1 revision
Opcode | 2001 | Command | p_finduid |
---|
Script | rs2 |
---|
Description | Gets protected access for a player by its UID |
---|
Argument | Data type | Range | Default | Description |
---|---|---|---|---|
player | player_uid | uid of player |
Returns | Data type | Range | Description |
---|---|---|---|
boolean | Returns true if protected access was obtained |
Required | Protected Player Access | Set | Corrupted |
---|---|---|---|
None | Yes | active_player | None |
Catching protected access fail
if (p_finduid($uid) = false) {
queue(runwhenever, 0);
return;
}