> For the complete documentation index, see [llms.txt](https://hrscripts.gitbook.io/hrscripts-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hrscripts.gitbook.io/hrscripts-documentation/resources/hrlib/classes/hrlibserverfplayer.md).

# HRLibServerFPlayer

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

### 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?)`
