Scripting/Squirrel/Functions/Checkpoint.World

From Vice City Multiplayer
Revision as of 05:28, 28 July 2015 by BrYaN FuRy (talk | contribs) (Created page with "Checkpoint.Wor 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( 25...")
(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.Wor 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 change its world

function onPlayerCommand( player, cmd,text ) { if ( cmd == "array" ) { array.World = 100; } }


By VCMP Team