Scripting/Squirrel/Functions/Checkpoint.Pos: 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
(Created page with "Checkpoint.Pos is very easy first u need. to give name to checkpoint function onScriptLoad() { array <- CreateCheckpoint(null, 0, Vector( 132.42, 674.34, 12.6543 ), RGB( 255...")
(No difference)

Revision as of 05:18, 28 July 2015

Checkpoint.Pos is very easy first u need. to give name to checkpoint


function onScriptLoad() { array <- CreateCheckpoint(null, 0, Vector( 132.42, 674.34, 12.6543 ), RGB( 255, 0,255 ), 2); }

now give him another pos like

function onPlayerJoin( player ) { array.Pos = Vector( 564.75, 454.98, 15.65 ); }


By VCMP Team