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
BrYaN FuRy (talk | contribs) (Created page with "Checkpoint.Color is very easy if u create a checkpoint with array like this function onScriptLoad() { array <- CreateCheckpoint(null, 0, Vector( 132.42, 674.34, 12.6543 ), RG...") |
BrYaN FuRy (talk | contribs) No edit summary |
||
Line 18: | Line 18: | ||
By | By VCMP Team |
Revision as of 05:11, 28 July 2015
Checkpoint.Color is very easy if u create a checkpoint with array like this
function onScriptLoad() { array <- CreateCheckpoint(null, 0, Vector( 132.42, 674.34, 12.6543 ), RGB( 255, 0,255 ), 2); }
then its easy to change color
Example
function onPlayerSpawn( player ) { array.Color = 1; player.Pos = Vector( 132.42, 674.34, 12.6543 ); }
By VCMP Team