Scripting/Squirrel/Functions/Checkpoint.Pos

From Vice City Multiplayer
Revision as of 05:18, 28 July 2015 by BrYaN FuRy (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

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