Functions/Player/Shared/isCP

From Official DarkRP Wiki
Jump to navigation Jump to search
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: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/Player/Shared/isCP]Player:isCP[/url][/b]

Function parameters

This function does not take any arguments.

Function return values

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