Scripting/Squirrel/Functions/SetSpawnCameraPos: 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
Line 1: Line 1:
{{Scripting/Needs_Text}}
 
This function set the camera pos.
 
== Arguments ==
 
* ''float'' '''X''' - X coordinate
* ''float'' '''Y''' - Y coordinate
* ''float'' '''Z''' - Z coordinate


== Syntax ==
== Syntax ==

Revision as of 19:49, 26 July 2014

This function set the camera pos.

Arguments

  • float X - X coordinate
  • float Y - Y coordinate
  • float Z - Z coordinate

Syntax

SetSpawnCameraPos( x, y, z );

Example

function onScriptLoad()
{
SetSpawnCameraPos( -923.6366, 1039.8380, 11.0848 );
}