Scripting/Squirrel/Functions/SetSpawnPlayerPos: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Scripting/Needs_Text}}
== Syntax ==
== Syntax ==
<pre>SetSpawnPlayerPos( x, y, z );</pre>
<pre>SetSpawnPlayerPos(x, y, z);</pre>


== Example ==
== Example ==
Line 6: Line 8:
function onScriptLoad()
function onScriptLoad()
{
{
SetSpawnPlayerPos(-924.1487, 1048.4241, 13.2005.0.0000 );
SetSpawnPlayerPos(-924.1487, 1048.4241, 13.2005);
}
}
</source>
</source>
== Related Functions ==
{{Scripting/Squirrel/Functions/Spawn_and_Wasted_Screen_Functions}}
[[Category:Scripting/Squirrel/Functions/Spawn_and_Wasted_Screen_Functions]]

Latest revision as of 21:58, 30 January 2017


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);
}

Related Functions