<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dev.playonset.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=FlyingFork</id>
	<title>Onset Developer Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://dev.playonset.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=FlyingFork"/>
	<link rel="alternate" type="text/html" href="https://dev.playonset.com/wiki/Special:Contributions/FlyingFork"/>
	<updated>2026-04-24T10:17:08Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://dev.playonset.com/index.php?title=Main_Page&amp;diff=4971</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=Main_Page&amp;diff=4971"/>
		<updated>2021-12-23T21:10:43Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: /* Other */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
===Getting started===&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/DedicatedServer&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/1/19/CardServer.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Server&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;Learn how to setup your own local or dedicated server.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/packages&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/c/ce/CardScripting.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Packages&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;Creating script packages for your server.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/server_config&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/b/b7/CardServerConfig.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Server Configuration&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;Documentation about configuring your server.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/weapons_config&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/f/fb/CardWeaponsConfig.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Weapons Configuration&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;Documentation about configuring custom weapons.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/Modding&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/6/62/CardModdingAssets.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Modding&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;Modding tutorial for importing custom 3D models, levels and more.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/Custom_Connect_Screen&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/4/4d/CardCustomConnectScreen.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Custom Connect Screen&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;Setting up your own custom connect screen for your server.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/Custom_Maps&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/3/3e/CardCustomMap.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Custom Maps&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;Learn how to create custom maps for Onset.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/Debugging&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/8/81/CardDebugging.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Debugging&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;Debugging your Onset scripts and user interfaces.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Lua Functions and Events===&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/Template:ServerFunctions&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/c/ce/CardScripting.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Server Functions&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;See a list of server functions.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/Template:ClientFunctions&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/c/ce/CardScripting.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Client Functions&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;See a list of client functions.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/Template:ServerEvents&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/c/ce/CardScripting.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Server Events&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;See a list of server events.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/Template:ClientEvents&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/c/ce/CardScripting.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Client Events&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;See a list of client events.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Game models and more===&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/Vehicles&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/4/48/CardVehicles.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Vehicles&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;List of vehicles to spawn.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/Objects&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/4/46/CardObjects.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Objects&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;List of objects to spawn.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/Weapons&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/6/6c/CardWeapons.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Weapons&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;List of weapons for players.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/AnimationList&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/c/ca/CardAnimations.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Animation List&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;Player and NPC animations.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/Doors&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/7/7e/CardDoors.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Doors&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;List of working doors.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/Clothing&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/2/20/CardClothing.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Clothing&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;Learn how to use clothing items.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/Apartment_Interior&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/3/36/Apartment_Card.jpg&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Apartments&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;Spawn a premade apartment interior.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Constants===&lt;br /&gt;
* [[HitType|Hit type]]&lt;br /&gt;
* [[PlayerState|Player State types]]&lt;br /&gt;
* [[InputModes|Input mode]]&lt;br /&gt;
* [[EditModes|Edit modes]]&lt;br /&gt;
* [[WebVisibility|Web Visibility]]&lt;br /&gt;
* [[AttachType|Attach type]]&lt;br /&gt;
* [[FloorTypes|Floor types]]&lt;br /&gt;
* [[MovementModes|Movement Modes]]&lt;br /&gt;
&lt;br /&gt;
===Other===&lt;br /&gt;
* [[ClientParameters|Client parameters and folders]]&lt;br /&gt;
* [[LuaHelper|Useful Lua helper functions]]&lt;br /&gt;
* [[UnrealLua]]&lt;br /&gt;
* [[Debugging|Debugging, crash handling and client console]]&lt;br /&gt;
* [[UpdateDiscordActivity|Custom Discord client id]]&lt;br /&gt;
* [[Template:HttpFunctions|Serverside HTTP client]]&lt;br /&gt;
* [https://github.com/alexandregv/awesome-onset Gamemodes, Packages, Scripts and Libraries for Onset]&lt;br /&gt;
* [[Limitations]]&lt;br /&gt;
* [[OnsetDocker|Onset with Docker]]&lt;br /&gt;
* [[Getting_Started_with_CSharp_(Server-Side)|Getting Started with C#]]&lt;br /&gt;
&lt;br /&gt;
===Plugins and Database===&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/MariaDB&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/b/b0/CardMariaDB.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;MariaDB&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;MariaDB (MySQL) setup for Onset.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;/wiki/Template:MariaDBFunctions&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/b/b0/CardMariaDB.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;MariaDB Functions&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;How use databases in Lua.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;card&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;https://playonset.com/monetization&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/images/d/d2/CardMonetization.png&amp;quot; alt=&amp;quot;CardImage&amp;quot; style=&amp;quot;width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;cardcontainer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;&amp;lt;b&amp;gt;Monetization&amp;lt;/b&amp;gt;&amp;lt;/h4&amp;gt; &lt;br /&gt;
    &amp;lt;p&amp;gt;Monetizing your server using Tebex service.&amp;lt;/p&amp;gt; &lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetDistance2D&amp;diff=4932</id>
		<title>GetDistance2D</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetDistance2D&amp;diff=4932"/>
		<updated>2021-08-02T16:00:43Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Calculates the distance between 2 points.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetDistance2D(x, y, x2, y2)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|x|x of the first point.}}&lt;br /&gt;
{{FuncParam|y|y of the first point.}}&lt;br /&gt;
{{FuncParam|x2|x of the second point.}}&lt;br /&gt;
{{FuncParam|y2|y of the second point.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|The distance between the 2 points.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
local distance = GetDistance2D(0, 0, 100, 100) -- Returns 100&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
* [[GetDistance3D]]&lt;br /&gt;
* [[GetDistanceSquared3D]]&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=Base64Decode&amp;diff=4931</id>
		<title>Base64Decode</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=Base64Decode&amp;diff=4931"/>
		<updated>2021-08-02T15:59:08Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Decodes the Base64 into text.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|Base64Decode(base64)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|base64|The base64 string.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Text string.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local encoded = Base64Encode(&amp;quot;Placeholder&amp;quot;)  -- encodes string &amp;quot;Placeholder&amp;quot;&lt;br /&gt;
local decoded = Base64Decode(encoded)  -- returns &amp;quot;Placeholder&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
* [[Base64Encode]]&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=Base64Decode&amp;diff=4930</id>
		<title>Base64Decode</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=Base64Decode&amp;diff=4930"/>
		<updated>2021-08-02T15:58:57Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Decodes the Base64 into text.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|Base64Decode(base64)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|base64|The base64 string.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Text string.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local encoded = Base64Encode(&amp;quot;Placeholder&amp;quot;) -- encodes string &amp;quot;Placeholder&amp;quot;&lt;br /&gt;
local decoded = Base64Decode(encoded)       -- returns &amp;quot;Placeholder&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
* [[Base64Encode]]&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=Base64Encode&amp;diff=4929</id>
		<title>Base64Encode</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=Base64Encode&amp;diff=4929"/>
		<updated>2021-08-02T15:58:03Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Encodes the specified text in the Base64 format.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|Base64Encode(text)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|text|the text.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|}}&lt;br /&gt;
The base64 string&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local encoded = Base64Encode(&amp;quot;Placeholder&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
* [[Base64Decode]]&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetDeltaSeconds&amp;diff=4866</id>
		<title>GetDeltaSeconds</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetDeltaSeconds&amp;diff=4866"/>
		<updated>2021-06-27T15:58:13Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Gets the time between game ticks/frames.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetDeltaSeconds()}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncNoParam}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns the delta time between the last game ticks/frames.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
print(&amp;quot;Delta Seconds: &amp;quot; .. GetDeltaSeconds())&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
*[[GetTimeSeconds]]&lt;br /&gt;
*[[GetDeltaSeconds]]&lt;br /&gt;
*[[GetTickCount]]&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetNetworkStats&amp;diff=4865</id>
		<title>GetNetworkStats</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetNetworkStats&amp;diff=4865"/>
		<updated>2021-06-26T14:54:06Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Gets the clients&#039; NetworkStats}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetNetworkStats()}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncNoParam}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|packetlossTotal, packetlossLastSecond, messagesInResendBuffer, bytesInResendBuffer, bytesSend, bytesReceived, bytesResent, bytesSendTotal, bytesReceivedTotal, bytesResentTotal, isLimitedByCongestionControl, isLimitedByOutgoingBandwidthLimit}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
for name, value in pairs(GetNetworkStats())&lt;br /&gt;
  print(name .. &amp;quot; -&amp;gt; &amp;quot; .. value)&lt;br /&gt;
do&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
* [[GetPlayerNetworkStats]]&lt;br /&gt;
* [[GetNetworkStats]]&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetPlayerNetworkStats&amp;diff=4864</id>
		<title>GetPlayerNetworkStats</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetPlayerNetworkStats&amp;diff=4864"/>
		<updated>2021-06-26T14:53:42Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Gets the clients&#039; NetworkStats}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetPlayerNetworkStats(player)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player identifier}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|packetlossTotal, packetlossLastSecond, messagesInResendBuffer, bytesInResendBuffer, bytesSend, bytesReceived, bytesResent, bytesSendTotal, bytesReceivedTotal, bytesResentTotal, isLimitedByCongestionControl, isLimitedByOutgoingBandwidthLimit}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
for name, value in pairs(GetPlayerNetworkStats(player))&lt;br /&gt;
  print(name .. &amp;quot; -&amp;gt; &amp;quot; .. value)&lt;br /&gt;
do&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
* [[GetPlayerNetworkStats]]&lt;br /&gt;
* [[GetNetworkStats]]&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetPlayerNetworkStats&amp;diff=4863</id>
		<title>GetPlayerNetworkStats</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetPlayerNetworkStats&amp;diff=4863"/>
		<updated>2021-06-26T14:53:28Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Gets the clients&#039; NetworkStats}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetPlayerNetworkStats(player)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player identifier}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|packetlossTotal, packetlossLastSecond, messagesInResendBuffer, bytesInResendBuffer, bytesSend, bytesReceived, bytesResent, bytesSendTotal, bytesReceivedTotal, bytesResentTotal, isLimitedByCongestionControl, isLimitedByOutgoingBandwidthLimit}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
for name, value in pairs(GetPlayerNetworkStats(player))&lt;br /&gt;
  print(name .. &amp;quot; -&amp;gt; &amp;quot; .. value)&lt;br /&gt;
do&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
* [[GetPlayerNetworkStats]]&lt;br /&gt;
* [[GetNetworkStats]]&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetVehicleHealth&amp;diff=4862</id>
		<title>GetVehicleHealth</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetVehicleHealth&amp;diff=4862"/>
		<updated>2021-06-26T14:52:27Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Returns the specified vehicle health in float.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetVehicleHealth(vehicle)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|vehicle|The vehicle identifier}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Vehicle health in float value between 0 to 10000}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
print(&amp;quot;Vehicle Health: &amp;quot; .. GetVehicleHealth(vehicle)/10000 .. &amp;quot;%&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{VehicleFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetVehicleCount&amp;diff=4861</id>
		<title>GetVehicleCount</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetVehicleCount&amp;diff=4861"/>
		<updated>2021-06-26T14:51:48Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Returns the number of vehicles.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetVehicleCount()}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncNoParam}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns the number of vehicles.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
print(&amp;quot;Vehicles: &amp;quot; .. GetVehicleCount())&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{VehicleFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=SetPlayerHeadSize&amp;diff=4860</id>
		<title>SetPlayerHeadSize</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=SetPlayerHeadSize&amp;diff=4860"/>
		<updated>2021-06-26T14:51:24Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Sets the player&#039;s head size.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|SetPlayerHeadSize(player, size)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player identifier}}&lt;br /&gt;
{{FuncParam|size|The size in floating point value (range 0.0 - 3.0)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|This function returs nothing.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
local ts12 = 0&lt;br /&gt;
function cmd_tscene12(player)&lt;br /&gt;
	ts12 = CreateTimer(IncreaseHeadSize, 10, player)&lt;br /&gt;
end&lt;br /&gt;
AddCommand(&amp;quot;tscene12&amp;quot;, cmd_tscene12)&lt;br /&gt;
&lt;br /&gt;
function IncreaseHeadSize(player)&lt;br /&gt;
	local size = GetPlayerHeadSize(player) + 0.1&lt;br /&gt;
	SetPlayerHeadSize(player, size)&lt;br /&gt;
	if (size &amp;gt; 3.0) then&lt;br /&gt;
		DestroyTimer(ts12)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ServerPlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=SetPlayerHealth&amp;diff=4859</id>
		<title>SetPlayerHealth</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=SetPlayerHealth&amp;diff=4859"/>
		<updated>2021-06-26T14:51:10Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|You can set the player&#039;s health in a range of 0 to 100 units.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|SetPlayerHealth(player, health)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|Player you want to set health of}}&lt;br /&gt;
{{FuncParam|health|New health value you want to set player to}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns &#039;&#039;&#039;true&#039;&#039;&#039; on success.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
function heal(player)&lt;br /&gt;
   SetPlayerHealth(player, 100)&lt;br /&gt;
   AddPlayerChat(player, &amp;quot;You&#039;ve healed yourself&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
AddCommand(&#039;heal&#039;, heal)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ServerPlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=IsPlayerDead&amp;diff=4858</id>
		<title>IsPlayerDead</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=IsPlayerDead&amp;diff=4858"/>
		<updated>2021-06-26T14:50:46Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Check if a player is dead.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|IsPlayerDead(player)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player identifier.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns &#039;&#039;&#039;true&#039;&#039;&#039; on success.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
AddCommand(&amp;quot;acceptdeath&amp;quot;, function(playerid)&lt;br /&gt;
    if not IsPlayerDead(player) then&lt;br /&gt;
        return AddPlayerChat(playerid, &amp;quot;You are not dead.&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    AddPlayerChat(playerid, &amp;quot;You have accepted death and will respawn shortly.&amp;quot;)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ServerPlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=SetPlayerSpectate&amp;diff=4857</id>
		<title>SetPlayerSpectate</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=SetPlayerSpectate&amp;diff=4857"/>
		<updated>2021-06-26T14:50:33Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Toggle the player spectate mode.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|SetPlayerSpectate(player, bSpectate)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player identifier.}}&lt;br /&gt;
{{FuncParam|bSpectate|The boolean status.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|This function returns nothing.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
function cmd_spec(player, disable)&lt;br /&gt;
	local _disable = false&lt;br /&gt;
	if disable ~= nil then&lt;br /&gt;
		_disable = true&lt;br /&gt;
	end&lt;br /&gt;
	_disable = not _disable&lt;br /&gt;
	SetPlayerSpectate(player, _disable)&lt;br /&gt;
end&lt;br /&gt;
AddCommand(&amp;quot;spec&amp;quot;, cmd_spec)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ServerPlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetPlayerHeading&amp;diff=4856</id>
		<title>GetPlayerHeading</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetPlayerHeading&amp;diff=4856"/>
		<updated>2021-06-26T14:50:20Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Get the specified player&#039;s heading (rotation).}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetPlayerHeading(player)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player identifier.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|This function returns heading in float.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&#039;Lua&#039;&amp;gt;&lt;br /&gt;
local heading = GetPlayerHeading(playerId)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ServerPlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetPlayerEquippedWeapon&amp;diff=4855</id>
		<title>GetPlayerEquippedWeapon</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetPlayerEquippedWeapon&amp;diff=4855"/>
		<updated>2021-06-26T14:50:10Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Get the specified player&#039;s equiped weapon Id.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetPlayerEquippedWeapon(player)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player identifier.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|This function returns the weapon ID.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
if GetPlayerEquippedWeapon(playerId) == 21 then&lt;br /&gt;
    print(&amp;quot;Player has equipped a taser.&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ServerPlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetPlayerEquippedWeaponSlot&amp;diff=4854</id>
		<title>GetPlayerEquippedWeaponSlot</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetPlayerEquippedWeaponSlot&amp;diff=4854"/>
		<updated>2021-06-26T14:49:57Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Client &amp;amp; Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Returns the slot the player currently has equiped}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetPlayerEquippedWeaponSlot(player)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player identifier}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|The weapon slot the player currently has equipped}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
print(&amp;quot;Equipped Weapon Slot: &amp;quot; .. GetPlayerEquippedWeaponSlot(player))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ServerPlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetPlayerWeapon&amp;diff=4853</id>
		<title>GetPlayerWeapon</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetPlayerWeapon&amp;diff=4853"/>
		<updated>2021-06-26T14:49:29Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Returns the specified player&#039;s weapon id, ammo, ammo in magazine in the specified weapon slot.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetPlayerWeapon(player [, weaponslot])}}&lt;br /&gt;
{{FuncSyntaxClient|GetPlayerWeapon(weaponslot)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player identifier.}}&lt;br /&gt;
{{FuncParamOptional|weaponslot|The weapon slot.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns weapon id, ammo.}}&lt;br /&gt;
{{FuncReturnValueClient|Returns weapon id, ammo, ammo in magazine.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
print(&amp;quot;Weapon: &amp;quot; .. GetPlayerWeapon(player))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
* [[SetPlayerWeapon]]&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=SetPlayerWeaponStat&amp;diff=4852</id>
		<title>SetPlayerWeaponStat</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=SetPlayerWeaponStat&amp;diff=4852"/>
		<updated>2021-06-26T14:49:01Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Modifies a weapon stat per player.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|SetPlayerWeaponStat(player, weaponid, stat, value)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player identifier.}}&lt;br /&gt;
{{FuncParam|weaponid|The weapon model identifier.}}&lt;br /&gt;
{{FuncParam|stat|The stat name.}}&lt;br /&gt;
{{FuncParam|value|New stat value}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns &#039;&#039;&#039;true&#039;&#039;&#039; on success.}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text - align: center; &amp;quot;&lt;br /&gt;
!colspan = &amp;quot;6&amp;quot; | Weapon stats&lt;br /&gt;
|-&lt;br /&gt;
|Stat name&lt;br /&gt;
|Values&lt;br /&gt;
|-&lt;br /&gt;
|Range&lt;br /&gt;
|1.0-50000.0&lt;br /&gt;
|-&lt;br /&gt;
|Recoil&lt;br /&gt;
|0.0-2.0&lt;br /&gt;
|-&lt;br /&gt;
|CameraShake&lt;br /&gt;
|0.0-5.0&lt;br /&gt;
|-&lt;br /&gt;
|CameraShakeCrouching&lt;br /&gt;
|0.0-5.0&lt;br /&gt;
|-&lt;br /&gt;
|SpreadMin&lt;br /&gt;
|0.0-1.0&lt;br /&gt;
|-&lt;br /&gt;
|SpreadMax&lt;br /&gt;
|0.0-5.0&lt;br /&gt;
|-&lt;br /&gt;
|CameraShake&lt;br /&gt;
|0.0-5.0&lt;br /&gt;
|-&lt;br /&gt;
|SpreadMovementModifier&lt;br /&gt;
|&#039;&#039;-&#039;&#039;1.0-1.0&lt;br /&gt;
|-&lt;br /&gt;
|SpreadCrouchingModifier&lt;br /&gt;
|&#039;&#039;-&#039;&#039;1.0-1.0&lt;br /&gt;
|-&lt;br /&gt;
|RateOfFire&lt;br /&gt;
|1.0-1000.0&lt;br /&gt;
|-&lt;br /&gt;
|MagazineSize&lt;br /&gt;
|0.0-100.0&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
SetPlayerWeaponStat(player, 5, &amp;quot;MagazineSize&amp;quot;, 50.0) -- set their magazine size to 50% of whats in weapons JSON, can be used to make modifications like Double Mags and what not&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ServerPlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetPlayerVehicleSeat&amp;diff=4851</id>
		<title>GetPlayerVehicleSeat</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetPlayerVehicleSeat&amp;diff=4851"/>
		<updated>2021-06-26T14:48:49Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Gets the vehicle seat a player is.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetPlayerVehicleSeat(player)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|Player whos seat you want to get}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|ID of the vehicle seat player is in}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
function shuff(player)&lt;br /&gt;
   local veh = GetPlayerVehicle(player)&lt;br /&gt;
    --Check if player is inside a vehicle&lt;br /&gt;
   if veh ~= 0 then&lt;br /&gt;
      --if driver seat is empty&lt;br /&gt;
      if GetVehicleDriver(veh) == 0 or not GetVehicleDriver(veh) then&lt;br /&gt;
         if GetPlayerVehicleSeat(player) == 2 then --check if player is in passenger seat&lt;br /&gt;
            SetPlayerInVehicle(player, veh, 1)&lt;br /&gt;
         end&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
AddCommand(&#039;shuff&#039;, shuff)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ServerPlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=IsPlayerReloading&amp;diff=4850</id>
		<title>IsPlayerReloading</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=IsPlayerReloading&amp;diff=4850"/>
		<updated>2021-06-26T14:48:33Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Check if a player is reloading a gun or not.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|IsPlayerReloading(player)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player identifier.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns &#039;&#039;&#039;true&#039;&#039;&#039; on success.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
print(&amp;quot;Reloading: &amp;quot; .. IsPlayerReloading(player) and &amp;quot;Yes&amp;quot; or &amp;quot;No&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ServerPlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=IsPlayerAiming&amp;diff=4849</id>
		<title>IsPlayerAiming</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=IsPlayerAiming&amp;diff=4849"/>
		<updated>2021-06-26T14:48:13Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Check if a player is aiming or not.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|IsPlayerAiming(player)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player identifier.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns &#039;&#039;&#039;true&#039;&#039;&#039; on success.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
print(&amp;quot;Aiming: &amp;quot; .. IsPlayerAiming(player) and &amp;quot;Yes&amp;quot; or &amp;quot;No&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
* [[IsPlayerTalking]]&lt;br /&gt;
* [[IsPlayerAiming]]&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetPlayerMovementMode&amp;diff=4848</id>
		<title>GetPlayerMovementMode</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetPlayerMovementMode&amp;diff=4848"/>
		<updated>2021-06-26T14:47:41Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Returns the players movement mode}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetPlayerMovementMode(player)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns the [[MovementModes]]}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
print(&amp;quot;Player Movement Mode: &amp;quot; .. GetPlayerMovementMode(player))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ServerPlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetPlayerState&amp;diff=4847</id>
		<title>GetPlayerState</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetPlayerState&amp;diff=4847"/>
		<updated>2021-06-26T14:47:14Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Get the player ped state.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetPlayerState(player)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player identifier.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns an integer. See [[PlayerState]].}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&#039;Lua&#039;&amp;gt;&lt;br /&gt;
if GetPlayerState(playerid) == PS_DRIVER then&lt;br /&gt;
    print(&amp;quot;This player state is driver.&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ServerPlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=IsPlayerTalking&amp;diff=4846</id>
		<title>IsPlayerTalking</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=IsPlayerTalking&amp;diff=4846"/>
		<updated>2021-06-26T14:47:00Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Check if a player is talking or not.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|IsPlayerTalking(player)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player identifier.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns &#039;&#039;&#039;true&#039;&#039;&#039; on success.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
print(&amp;quot;Talking: &amp;quot; .. IsPlayerTalking(player) and &amp;quot;Yes&amp;quot; or &amp;quot;No&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
* [[IsPlayerTalking]]&lt;br /&gt;
* [[IsPlayerAiming]]&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=SetPlayerVoiceEnabled&amp;diff=4845</id>
		<title>SetPlayerVoiceEnabled</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=SetPlayerVoiceEnabled&amp;diff=4845"/>
		<updated>2021-06-26T14:46:20Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Enable a player&#039;s voice chat.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|SetPlayerVoiceEnabled(playerid, bEnable)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|playerid|The player identifier.}}&lt;br /&gt;
{{FuncParam|bEnable|The boolean enable status.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns &#039;&#039;&#039;true&#039;&#039;&#039; if the change was succesfull, otherwise &#039;&#039;&#039;false&#039;&#039;&#039;.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
SetPlayerVoiceEnabled(player, false) -- mute&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{Template:VoiceFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=IsPlayerStreamedIn&amp;diff=4844</id>
		<title>IsPlayerStreamedIn</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=IsPlayerStreamedIn&amp;diff=4844"/>
		<updated>2021-06-26T14:45:14Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Check if the player B (otherid) is streamed in for player A (player).}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|IsPlayerStreamedIn(player, otherid)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player identifier for which the other player should be streamed in.}}&lt;br /&gt;
{{FuncParam|otherid|The player identifier for the player which will be streamed in.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|The function returns &#039;&#039;&#039;true&#039;&#039;&#039; on success.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
if IsPlayerStreamedIn(playerId, otherId) then&lt;br /&gt;
    AddPlayerChat(playerId, &amp;quot;You have just streamed in other player.&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ServerPlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetStreamedPlayersForPlayer&amp;diff=4843</id>
		<title>GetStreamedPlayersForPlayer</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetStreamedPlayersForPlayer&amp;diff=4843"/>
		<updated>2021-06-26T14:45:00Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Returns the list of players streamed to the specified player.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetStreamedPlayersForPlayer(player)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player identifier.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|The array of players streamed to the client.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
local streamedPlayers = GetStreamedPlayersForPlayer(playerid)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ServerPlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetNearestPlayer2D&amp;diff=4842</id>
		<title>GetNearestPlayer2D</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetNearestPlayer2D&amp;diff=4842"/>
		<updated>2021-06-26T14:41:57Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Gets the closest player in the specified range of XY. An important function which replaces the use of looping through all players and then checking if they are the closest.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetNearestPlayer2D(x, y)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|x|The X axis}}&lt;br /&gt;
{{FuncParam|y|The Y axis}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns the player identifier or &#039;&#039;&#039;false&#039;&#039;&#039;}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
AddCommand(&amp;quot;closest&amp;quot;, function(player)&lt;br /&gt;
  local x, y, z = GetPlayerLocation(player)&lt;br /&gt;
  local target = GetNearestPlayer2D(x, y)&lt;br /&gt;
&lt;br /&gt;
  return AddPlayerChat(player, &amp;quot;Closest player is: &amp;quot; .. GetPlayerName(target))&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ServerPlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetAllPlayers&amp;diff=4841</id>
		<title>GetAllPlayers</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetAllPlayers&amp;diff=4841"/>
		<updated>2021-06-26T14:38:35Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Get all players on the server. Useful for loops.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetAllPlayers()}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncNoParam}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns a table of all players.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
function cmd_healall(player)&lt;br /&gt;
	if (PlayerData[player].admin &amp;lt; 4) then&lt;br /&gt;
		return AddPlayerChat(player, &amp;quot;Insufficient permission&amp;quot;)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	for _, v in pairs(GetAllPlayers()) do&lt;br /&gt;
		SetPlayerHealth(v, 100.0)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	AddPlayerChatAll(&amp;quot;Admin &amp;quot;..GetPlayerName(player)..&amp;quot; has healed all players!&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
AddCommand(&amp;quot;healall&amp;quot;, cmd_healall)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ServerPlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=IsValidPlayer&amp;diff=4840</id>
		<title>IsValidPlayer</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=IsValidPlayer&amp;diff=4840"/>
		<updated>2021-06-26T14:38:15Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Checks whether the specified player is connected to the server or not.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|IsValidPlayer(player)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player id}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns &#039;&#039;&#039;true&#039;&#039;&#039; if the player is connected, otherwise &#039;&#039;&#039;false&#039;&#039;&#039;.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
print(&amp;quot;Valid Player: &amp;quot; .. IsValidPlayer(player) and &amp;quot;Yes&amp;quot; or &amp;quot;No&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ServerPlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=IsValidPlayer&amp;diff=4839</id>
		<title>IsValidPlayer</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=IsValidPlayer&amp;diff=4839"/>
		<updated>2021-06-26T14:37:50Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Checks whether the specified player is connected to the server or not.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|IsValidPlayer(player)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|player|The player id}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns &#039;&#039;&#039;true&#039;&#039;&#039; if the player is connected, otherwise &#039;&#039;&#039;false&#039;&#039;&#039;.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
print(&amp;quot;Valid Player: &amp;quot; .. IsValidPlayer(player) and &amp;quot;Yes&amp;quot; or &amp;quot;No&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{Template:PlayerFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=SetPickupLocation&amp;diff=4838</id>
		<title>SetPickupLocation</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=SetPickupLocation&amp;diff=4838"/>
		<updated>2021-06-26T14:37:00Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Set a new location for a pickup.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|SetPickupLocation(pickup, x, y, z)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|pickup|The pickup identifier.}}&lt;br /&gt;
{{FuncParam|x|The X coordinate}}&lt;br /&gt;
{{FuncParam|y|The Y coordinate}}&lt;br /&gt;
{{FuncParam|z|The Z coordinate}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns &#039;&#039;&#039;true&#039;&#039;&#039; on success..}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
SetPickupLocation(pickup, 0, 0, 1000)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{Template:ObjectFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetPickupDimension&amp;diff=4837</id>
		<title>GetPickupDimension</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetPickupDimension&amp;diff=4837"/>
		<updated>2021-06-26T14:36:34Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Gets the dimension of this pickup.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetPickupDimension(pickup)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|pickup|The pickup identifier.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns the dimension.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
print(&amp;quot;Pickup Dimension: &amp;quot; .. GetPickupDimension(pickup))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{Template:PickupFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=IsPackageStarted&amp;diff=4836</id>
		<title>IsPackageStarted</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=IsPackageStarted&amp;diff=4836"/>
		<updated>2021-06-26T14:35:56Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Checks whether a package is started.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|IsPackageStarted(PackageName)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|PackageName|The name of the package.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns &#039;&#039;&#039;true&#039;&#039;&#039; if the package is started.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
local packageName = &amp;quot;dev&amp;quot;&lt;br /&gt;
print(&amp;quot;Package state: &amp;quot; .. (IsPackageStarted(packageName) and &amp;quot;ON&amp;quot; or &amp;quot;OFF&amp;quot;))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
*[[ImportPackage]]&lt;br /&gt;
*[[StartPackage]]&lt;br /&gt;
*[[StopPackage]]&lt;br /&gt;
*[[GetAllPackages]]&lt;br /&gt;
*[[GetPackageName]]&lt;br /&gt;
*[[IsPackageStarted]]&lt;br /&gt;
*[[GetPackageFiles]]&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=SetObjectRotateAxis&amp;diff=4835</id>
		<title>SetObjectRotateAxis</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=SetObjectRotateAxis&amp;diff=4835"/>
		<updated>2021-06-26T14:34:57Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Sets the object to rotate around its own axis.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|SetObjectRotateAxis(object, x, y, z)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|object|The object identifier.}}&lt;br /&gt;
{{FuncParam|x|The X axis}}&lt;br /&gt;
{{FuncParam|y|The Y axis}}&lt;br /&gt;
{{FuncParam|z|The Z axis}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|__EDIT_ME__}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
SetObjectRotateAxis(object, 90, 90, 90)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{Template:ObjectFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=SetObjectMoveTo&amp;diff=4834</id>
		<title>SetObjectMoveTo</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=SetObjectMoveTo&amp;diff=4834"/>
		<updated>2021-06-26T14:32:07Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Set the object to move to the specified coordinates.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|SetObjectMoveTo(object, x, y, z [, speed])}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|object|The object identifier.}}&lt;br /&gt;
{{FuncParam|x|The X axis}}&lt;br /&gt;
{{FuncParam|y|The Y axis}}&lt;br /&gt;
{{FuncParam|z|The Z axis}}&lt;br /&gt;
{{FuncParamOptional|speed|The speed as a floating point number. (Centimeter per second)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns &#039;&#039;&#039;true&#039;&#039;&#039; on success.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
SetObjectMoveTo(object, 100, 100, 100, 2)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{Template:ObjectFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=IsObjectMoving&amp;diff=4833</id>
		<title>IsObjectMoving</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=IsObjectMoving&amp;diff=4833"/>
		<updated>2021-06-26T14:31:42Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Check if an object is moving or not.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|IsObjectMoving(object)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|object|The object identifier.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns &#039;&#039;&#039;true&#039;&#039;&#039; on success.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
if IsObjectMoving(object) then&lt;br /&gt;
  StopObjectMove(object)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{Template:ObjectFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetObjectAttachmentInfo&amp;diff=4832</id>
		<title>GetObjectAttachmentInfo</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetObjectAttachmentInfo&amp;diff=4832"/>
		<updated>2021-06-26T14:31:10Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Gets information on this attached object.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetObjectAttachmentInfo(object)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|object|The object identifier.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns two integers. First one being the attach type (ie ATTACH_VEHICLE, [[AttachType]]) and the second one the identifier to what this object is attached to. See [[SetObjectAttached]].}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
print(&amp;quot;Object Attach Information: &amp;quot; .. GetObjectAttachmentInfo(object))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{Template:ObjectFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=IsObjectAttached&amp;diff=4831</id>
		<title>IsObjectAttached</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=IsObjectAttached&amp;diff=4831"/>
		<updated>2021-06-26T14:30:30Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Check if the specified object is attached or not.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|IsObjectAttached(object)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|object|The object identifier.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns &#039;&#039;&#039;true&#039;&#039;&#039; on success.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
if IsObjectAttached(object) then&lt;br /&gt;
  SetObjectDetached(object)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{Template:ObjectFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=SetObjectDetached&amp;diff=4830</id>
		<title>SetObjectDetached</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=SetObjectDetached&amp;diff=4830"/>
		<updated>2021-06-26T14:30:08Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Detach an already attached object.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|SetObjectDetached(object)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|object|The object identifier.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|This function returns nothing.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
if IsObjectAttached(object) then&lt;br /&gt;
  SetObjectDetached(object)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{Template:ObjectFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=SetObjectLocation&amp;diff=4829</id>
		<title>SetObjectLocation</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=SetObjectLocation&amp;diff=4829"/>
		<updated>2021-06-26T14:29:31Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Change the specified object&#039;s location.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|SetObjectLocation(object, x, y, z)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|object|The object identifier.}}&lt;br /&gt;
{{FuncParam|x|The X axis}}&lt;br /&gt;
{{FuncParam|y|The Y axis}}&lt;br /&gt;
{{FuncParam|z|The Z axis}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|This function returns nothing.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
SetObjectLocation(object, 0, 0, 1000)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{Template:ObjectFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetObjectModel&amp;diff=4828</id>
		<title>GetObjectModel</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetObjectModel&amp;diff=4828"/>
		<updated>2021-06-26T14:29:06Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Get the object model number ob a spawned object. See [[Objects]].}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetObjectModel(object)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|object|The object identifier.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns the object model number as an integer.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
print(&amp;quot;Object Model: &amp;quot; .. GetObjectModel(object))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
* [[GetObjectCount]]&lt;br /&gt;
* [[GetObjectModelCount]]&lt;br /&gt;
* [[GetObjectModelGroup]]&lt;br /&gt;
* [[GetObjectModelName]]&lt;br /&gt;
* [[GetStreamedObjects]]&lt;br /&gt;
* [[GetObjectLocation]]&lt;br /&gt;
* [[GetObjectRotation]]&lt;br /&gt;
* [[GetObjectScale]]&lt;br /&gt;
* [[GetObjectBoundingBox]]&lt;br /&gt;
* [[GetObjectSize]]&lt;br /&gt;
* [[EnableObjectHitEvents]]&lt;br /&gt;
* [[GetObjectMass]]&lt;br /&gt;
* [[SetObjectEditorSpeed]]&lt;br /&gt;
* [[SetObjectEditable]]&lt;br /&gt;
* [[SetObjectOutline]]&lt;br /&gt;
* [[SetObjectCastShadow]]&lt;br /&gt;
* [[SetObjectColor]]&lt;br /&gt;
* [[SetObjectEmissiveColor]]&lt;br /&gt;
* [[SetObjectTexture]]&lt;br /&gt;
* [[SetObjectAnimatedTexture]]&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetObjectCount&amp;diff=4827</id>
		<title>GetObjectCount</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetObjectCount&amp;diff=4827"/>
		<updated>2021-06-26T14:28:46Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Get the number of spawned object instances from [[CreateObject]].}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetObjectCount()}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncNoParam}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns total object count.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
print(&amp;quot;Objects: &amp;quot; .. GetObjectCount())&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
* [[GetObjectModelCount]]&lt;br /&gt;
* [[GetObjectModelGroup]]&lt;br /&gt;
* [[GetObjectModelName]]&lt;br /&gt;
* [[GetStreamedObjects]]&lt;br /&gt;
* [[GetObjectModel]]&lt;br /&gt;
* [[GetObjectLocation]]&lt;br /&gt;
* [[GetObjectRotation]]&lt;br /&gt;
* [[GetObjectScale]]&lt;br /&gt;
* [[GetObjectBoundingBox]]&lt;br /&gt;
* [[GetObjectSize]]&lt;br /&gt;
* [[EnableObjectHitEvents]]&lt;br /&gt;
* [[GetObjectMass]]&lt;br /&gt;
* [[SetObjectEditorSpeed]]&lt;br /&gt;
* [[SetObjectEditable]]&lt;br /&gt;
* [[SetObjectOutline]]&lt;br /&gt;
* [[SetObjectCastShadow]]&lt;br /&gt;
* [[SetObjectColor]]&lt;br /&gt;
* [[SetObjectEmissiveColor]]&lt;br /&gt;
* [[SetObjectTexture]]&lt;br /&gt;
* [[SetObjectAnimatedTexture]]&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetObjectDimension&amp;diff=4826</id>
		<title>GetObjectDimension</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetObjectDimension&amp;diff=4826"/>
		<updated>2021-06-26T14:28:34Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Gets the dimension of this object.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetObjectDimension(object)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|object|The object identifier.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns the dimension.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
print(&amp;quot;Object Dimension: &amp;quot; .. GetObjectDimension(object))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
* [[GetObjectModelCount]]&lt;br /&gt;
* [[GetObjectModelGroup]]&lt;br /&gt;
* [[GetObjectModelName]]&lt;br /&gt;
* [[GetStreamedObjects]]&lt;br /&gt;
* [[GetObjectModel]]&lt;br /&gt;
* [[GetObjectLocation]]&lt;br /&gt;
* [[GetObjectRotation]]&lt;br /&gt;
* [[GetObjectScale]]&lt;br /&gt;
* [[GetObjectBoundingBox]]&lt;br /&gt;
* [[GetObjectSize]]&lt;br /&gt;
* [[EnableObjectHitEvents]]&lt;br /&gt;
* [[GetObjectMass]]&lt;br /&gt;
* [[SetObjectEditorSpeed]]&lt;br /&gt;
* [[SetObjectEditable]]&lt;br /&gt;
* [[SetObjectOutline]]&lt;br /&gt;
* [[SetObjectCastShadow]]&lt;br /&gt;
* [[SetObjectColor]]&lt;br /&gt;
* [[SetObjectEmissiveColor]]&lt;br /&gt;
* [[SetObjectTexture]]&lt;br /&gt;
* [[SetObjectAnimatedTexture]]&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=SetNPCFollowVehicle&amp;diff=4825</id>
		<title>SetNPCFollowVehicle</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=SetNPCFollowVehicle&amp;diff=4825"/>
		<updated>2021-06-26T14:27:39Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Make a NPC follow the vehicle.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|SetNPCFollowVehicle(npc, vehicle [, speed])}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|npc|The NPC identifier.}}&lt;br /&gt;
{{FuncParam|vehicle |The vehicle identifier.}}&lt;br /&gt;
{{FuncParamOptional|speed|The speed in floating point.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|This function returns nothing.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
AddCommand(&amp;quot;follow&amp;quot;, function(player)&lt;br /&gt;
  local vehicle = GetPlayerVehicle(player)&lt;br /&gt;
&lt;br /&gt;
  if (not vehicle) then&lt;br /&gt;
    return AddPlayerChat(player, &amp;quot;You must be in a vehicle!&amp;quot;)&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
  SetNPCFollowVehicle(npc, vehicle)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{Template:NPCFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=SetNPCFollowPlayer&amp;diff=4824</id>
		<title>SetNPCFollowPlayer</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=SetNPCFollowPlayer&amp;diff=4824"/>
		<updated>2021-06-26T14:26:20Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Set a NPC to follow the specified player.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|SetNPCFollowPlayer(npc, player [, speed])}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|npc|The NPC identifier.}}&lt;br /&gt;
{{FuncParam|player |The player identifier.}}&lt;br /&gt;
{{FuncParamOptional|speed|The speed.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|This function returns nothing.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
AddCommand(&amp;quot;follow&amp;quot;, function(player)&lt;br /&gt;
  SetNPCFollowPlayer(npc, player)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{Template:NPCFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=SetNPCLocation&amp;diff=4823</id>
		<title>SetNPCLocation</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=SetNPCLocation&amp;diff=4823"/>
		<updated>2021-06-26T14:25:25Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Sets the location of this npc}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|SetNPCLocation(npc, x, y, z)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|npc|NPC which you want to teleport}}&lt;br /&gt;
{{FuncParam|x|X coordinate}}&lt;br /&gt;
{{FuncParam|y|Y coordinate}}&lt;br /&gt;
{{FuncParam|z|Z coordinate}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns &#039;&#039;&#039;true&#039;&#039;&#039; on success.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
function bringNPC(player, npc)&lt;br /&gt;
   local x,y,z = GetPlayerLocation(player)&lt;br /&gt;
   SetNPCLocation(tonumber(npc), x,y,z)&lt;br /&gt;
end&lt;br /&gt;
AddCommand(&#039;bringnpc&#039;, bringNPC)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{Template:NPCFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://dev.playonset.com/index.php?title=GetNPCPropertyValue&amp;diff=4822</id>
		<title>GetNPCPropertyValue</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=GetNPCPropertyValue&amp;diff=4822"/>
		<updated>2021-06-26T14:24:33Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Info|Function|Server &amp;amp; Client|1.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Gets a property value for this entity.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|GetNPCPropertyValue(npc, PropertyName)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|npc|The npc identifier}}&lt;br /&gt;
{{FuncParam|PropertyName|Name of the property variable}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns the value.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;gt;&lt;br /&gt;
print(&amp;quot;NPC Name: &amp;quot; .. GetNPCPropertyValue(npc, &amp;quot;npc:name&amp;quot;))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{Template:NPCFunctions}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
</feed>