Scripting/Squirrel/Functions/DestroyMarker: Difference between revisions
Jump to navigation
Jump to search

This wiki is using an old backup from 2020
Some information may be old/missing
Luis labarca (talk | contribs) (Created page with "'''Syntax''' <pre>DestroyMarker(MarkerName)</pre> '''Example''' <source lang=squirrel> function onPlayerCommand( player, cmd, text ) { if ( cmd == "createmarker" ) { Ma...") |
(No difference)
|
Revision as of 23:38, 21 December 2015
Syntax
DestroyMarker(MarkerName)
Example <source lang=squirrel>
function onPlayerCommand( player, cmd, text )
{
if ( cmd == "createmarker" )
{
Marker<-CreateMarker(p.UniqueWorld, Vector( 498.03,-83.8962,9.74025 ), 5,RGB(209, 209, 209),0);
}
if ( cmd == "deletmarker" )
{
DestroyMarker(Marker);
}
}