Server Command p_finduid - 2004Scape/Server GitHub Wiki
|
2001 |
|
p_finduid |
---|
|
rs2 |
---|
|
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;
}