Hello all,
Today I create /createmarker script, it's allow me to create checkpoint.
My question is how to add blip when I type /createmarker and how to create cmd "removemarker" that remove the marker.
This is my "createmarker" script:
function consoleCreateMarker ( playerSource )
if ( playerSource ) then
local x, y, z = getElementPosition ( playerSource )
createMarker ( x, y, z, "checkpoint", 2, 255, 0, 0, 255 )
end
end
addCommandHandler ( "createmarker", consoleCreateMarker )
Thanks.