Scripting/Squirrel/Functions/SetSpawnPlayerPos: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
== Syntax == | == Syntax == | ||
<pre>SetSpawnPlayerPos( x, y, z );</pre> | <pre>SetSpawnPlayerPos(x, y, z);</pre> | ||
== Example == | == Example == | ||
Line 8: | Line 8: | ||
function onScriptLoad() | function onScriptLoad() | ||
{ | { | ||
SetSpawnPlayerPos(-924.1487, 1048.4241, 13.2005, 0.0000 ); | SetSpawnPlayerPos(-924.1487, 1048.4241, 13.2005, 0.0000); | ||
} | } | ||
</source> | </source> |
Revision as of 11:44, 27 October 2014
This page needs a description, or needs a better one. Please help us complete the wiki by writing one.
Syntax
SetSpawnPlayerPos(x, y, z);
Example
function onScriptLoad()
{
SetSpawnPlayerPos(-924.1487, 1048.4241, 13.2005, 0.0000);
}