---
description: >-
  Class, used to define variable's type as containing the server side FPlayer
  values
---

# HRLibServerFPlayer

### Fields

* Teleport: `function FPlayer:Teleport(coords: vector3)`
* SpawnVehicle:\
  `function FPlayer:SpawnVehicle(`\
  &#x20;   `vehModel: string|integer,`\
  &#x20;   `spawnPlayerInside: boolean?,`\
  &#x20;   `saveVehicle: boolean?`\
  `)`&#x20;
* Notify:\
  `function FPlayer:Notify(`\
  &#x20;   `msg: string,`\
  &#x20;   `type: 'success'|'error'|'info'|'warning'?,`\
  &#x20;   `duration: number?`\
  `)`&#x20;
* FocusedEvent: `function FPlayer:FocusedEvent(eventName: string, ...: any)`&#x20;
* SetHealth: `function FPlayer:SetHealth(health: number?)`&#x20;
* SetInvincibility: `function FPlayer:SetInvincibility(toggle: boolean?)`
