Functions/Player/Server/wanted

From Official DarkRP Wiki
Jump to navigation Jump to search
Function
Function name Player:wanted(Player actor, string reason, number time)
Description:
Make this person wanted by the police.
Returns: nil
Part of Library: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/Player/Server/wanted]Player:wanted[/url][/b]

Function parameters

  1. actor (Player)
  2. The player who made the other person wanted.

  3. reason (string)
  4. The reason for the wanted status.

  5. time (number) (optional)
  6. The time in seconds for which the player should be wanted.


Function return values

This function does not return any value.