Scripting/Squirrel/Functions/Checkpoint.Remove

From Vice City Multiplayer
Revision as of 05:22, 28 July 2015 by BrYaN FuRy (talk | contribs)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

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


[code] function onScriptLoad()

{ 

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

}[/code]

now delete on playerpart

[code] function onPlayerPart( player ) { array.Remove();

}

[/code] By VCMP Team