IsPlayerPromptHidden
Whether the use prompt everyone sees over a player is hidden (SetPlayerPrompt’s hidden).
Syntax
Section titled “Syntax”IsPlayerPromptHidden(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”boolean - true when the prompt is armed with nothing drawn over the head; false when shown, none or not connected
Example
Section titled “Example”if IsPlayerPromptHidden(pid) then SetPlayerPrompt(pid, GetPlayerPrompt(pid), false) endSee also
Section titled “See also”SetPlayerPrompt · GetPlayerPrompt · the Players group of the index
