Functions/Player/Shared/isCP

From DarkRP
Function
Function name Player:isCP()
Description:
Whether this player is part of the police force (mayor, cp, chief).
Returns: boolean answer
Part of Library: Player
Realm:
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/Player/Shared/isCP]Player:isCP[/url][/b]

Function parameters[edit]

This function does not take any arguments.

Function return values[edit]

  1. answer (boolean)
  2. Whether this player is part of the police force.