Scripting/Squirrel/Functions/Checkpoint.Color: 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 1: | Line 1: | ||
Checkpoint.Color | == Syntax == | ||
<pre>Checkpoint.Color</pre> | |||
== Arguments == | |||
RGB value | |||
== | == Example == | ||
<pre>function onPlayerSpawn( player ) | <pre>function onPlayerSpawn( player ) | ||
{ | { | ||
FindCheckpoint(0).Color = RGB(255,255,255); | |||
player.Pos = Vector( 132.42, 674.34, 12.6543 ); | player.Pos = Vector( 132.42, 674.34, 12.6543 ); | ||
}</pre> | }</pre> |
Revision as of 08:26, 24 February 2016
Syntax
Checkpoint.Color
Arguments
RGB value
Example
function onPlayerSpawn( player ) { FindCheckpoint(0).Color = RGB(255,255,255); player.Pos = Vector( 132.42, 674.34, 12.6543 ); }
By VCMP Team