Scripting/Squirrel/Functions/Checkpoint.Remove: 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) No edit summary |
BrYaN FuRy (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
function onScriptLoad() | function onScriptLoad() | ||
{ | { | ||
array <- CreateCheckpoint(null, 0, Vector( 132.42, 674.34, 12.6543 ), RGB( 255, 0,255 ), 2); | array <- CreateCheckpoint(null, 0, Vector( 132.42, 674.34, 12.6543 ), RGB( 255, 0,255 ), 2); | ||
} | } | ||
now delete on playerpart | now delete on playerpart | ||
function onPlayerPart( player ) | function onPlayerPart( player ) | ||
{ | { | ||
array.Remove(); | array.Remove(); | ||
} | } | ||
By VCMP Team | By VCMP Team |
Revision as of 05:22, 28 July 2015
Checkpoint.remove 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 delete on playerpart
function onPlayerPart( player )
{
array.Remove();
}
By VCMP Team