DarkRP.canWanted
Jump to navigation
Jump to search
target (Player)
actor (Player)
reason (Player)
This page refers to DarkRP 2.4.3. This information may be incorrect as of later versions. Check here for a up-to-date list of hooks. |
---|
Syntax[edit]
Description | Whether someone can make a player wanted |
---|---|
Syntax |
canWanted(Player target, Player actor, Player reason)
|
Returns | "canRequest" (boolean): A yes or no as to whether the wanted can be requested "message" (string): The message that is shown when it can't |
Arguments
The player to make wanted by the police
The player requesting the wanted status
The reason