function crmarker (player, cmd, x1, x2, x3 )
local x, y, z = getLocalPlayer (player)
if cmd == "createmarker" then
x1 = tonumber( x1 )
x2 = tonumber( x2 )
x3 = tonumber( x3 )
if x1 then
if x2 then
if x3 then
marker1 = createMarker ( x, y, z, "cylinder", 255, 0, 0 )
marker2 = createMarker ( x1, x2, x3, "cylinder", 255, 0, 0 )
else
outputChatBox ("[invalid Syntax]: /crmarker [x1], [x2], [x3] ", player, 255, 0, 0 )
end
end
end
end
end
addCommandHandler("createmarker", crmarker)