<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=CreateCheckpoint</id>
	<title>CreateCheckpoint - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=CreateCheckpoint"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=CreateCheckpoint&amp;action=history"/>
	<updated>2026-07-24T19:07:33Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=CreateCheckpoint&amp;diff=774&amp;oldid=prev</id>
		<title>imported&gt;Xabi: Xabi moved page NAPI.Checkpoint.CreateCheckpoint to CreateCheckpoint</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=CreateCheckpoint&amp;diff=774&amp;oldid=prev"/>
		<updated>2019-11-27T12:46:32Z</updated>

		<summary type="html">&lt;p&gt;Xabi moved page &lt;a href=&quot;/wiki/NAPI.Checkpoint.CreateCheckpoint&quot; class=&quot;mw-redirect&quot; title=&quot;NAPI.Checkpoint.CreateCheckpoint&quot;&gt;NAPI.Checkpoint.CreateCheckpoint&lt;/a&gt; to &lt;a href=&quot;/wiki/CreateCheckpoint&quot; title=&quot;CreateCheckpoint&quot;&gt;CreateCheckpoint&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC____NOEDITSECTION__{{Template:Server_side_csharp}}&lt;br /&gt;
Create a checkpoint&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;C#&amp;quot; &amp;gt;Checkpoint NAPI.Checkpoint.CreateCheckpoint(uint/int/CheckpointType model, Vector3 pos, Vector3 dir, float scale, Color color [, uint dimension = NAPI.GlobalDimension ]);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Required Arguments&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;model:&amp;#039;&amp;#039;&amp;#039; Model of the checkpoint. Parameter input should be in &amp;#039;&amp;#039;&amp;#039;uint&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;int&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;CheckpointType&amp;#039;&amp;#039;&amp;#039; type.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;pos:&amp;#039;&amp;#039;&amp;#039; Position of the checkpoint. Parameter input should be in &amp;#039;&amp;#039;&amp;#039;Vector3&amp;#039;&amp;#039;&amp;#039; type.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;dir:&amp;#039;&amp;#039;&amp;#039; Direction of the checkpoint. Parameter input should be in &amp;#039;&amp;#039;&amp;#039;Vector3&amp;#039;&amp;#039;&amp;#039; type.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;scale:&amp;#039;&amp;#039;&amp;#039; Scale of the checkpoint. Parameter input should be in &amp;#039;&amp;#039;&amp;#039;float&amp;#039;&amp;#039;&amp;#039; type.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;color:&amp;#039;&amp;#039;&amp;#039; Color of the checkpoint. Parameter input should be in &amp;#039;&amp;#039;&amp;#039;Color&amp;#039;&amp;#039;&amp;#039; type.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Optional Arguments&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;dimension:&amp;#039;&amp;#039;&amp;#039; Dimension of the checkpoint. Parameter input should be in &amp;#039;&amp;#039;&amp;#039;uint&amp;#039;&amp;#039;&amp;#039; type.&lt;br /&gt;
&lt;br /&gt;
==Usage example(s)==&lt;br /&gt;
In this example, a checkpoint will be created on the player who type the command &amp;quot;/cp&amp;quot;.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;C#&amp;quot;&amp;gt;&lt;br /&gt;
[Command(&amp;quot;cp&amp;quot;)]&lt;br /&gt;
public void createCheckpoint(Client client, string commandArgs)&lt;br /&gt;
{&lt;br /&gt;
    var clientPosition = NAPI.Entity.GetEntityPosition(client);&lt;br /&gt;
    NAPI.Checkpoint.CreateCheckpoint(CheckpointType.Cyclinder, clientPosition, new Vector3(0, 1, 0), 1f, new Color(255, 0, 0), 0);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Serverside API]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Xabi</name></author>
	</entry>
</feed>