I have the ambition to write all the missions from GTA SA on the MTA server for two people, but I can not write scripts very well yet. 
	What I was able to write is that after entering the server, a bike appears with marker [where the first mission in SA]. Now I wanted after entering the bike, the marker disappeared. Here are my scraps that absolutely do not work. 
	Could someone give me a helpfull hand?
 
	meta.xml
 
	
<meta>
	<info author="Barti" title="missions" version="0.1"/>
	<script src="missions.lua" type="server"/>
	<cop>true</cop>
</meta>
	
		 
	 
	 
	missions.lua
 
	
local x1, y1, z1, rx1, ry1, rz1  = 2243.2, -1263.2, 23.5, 0, 0, 270 -- I set the coordinates of the vehicle's spawn
addEventHandler ( "onPlayerJoin", getRootElement(),function() 
	local Bike = createVehicle ( 481, 0, 0, 0 ) -- set the type of vehicle
    setVehicleColor( Bike, 88,142,110 ) -- set the color
    spawnVehicle( Bike, x1, y1, z1, rx1, ry1, rz1)
    local spawnVeh = spawnVehicle ( Bike, x1, y1, z1, rx1, ry1, rz1 ) -- spawns the vehicle
		local xb1, yb1, zb1 = getElementPosition ( Bike ) -- taking the vehicle's coordinates
		local theMarker = createMarker ( xb1, yb1, zb1, "arrow", 0.4, 255, 255, 0, 170 ) -- create a marker over the vehicle
		attachElements ( theMarker, Bike, 0, 0, 1.5 ) -- that is attached to it
		local driver = getVehicleOccupant (source) -- wanted to read if someone is sitting on the bike
		if driver then -- and if he is sitting
			destroyElement(element theMarker)  -- destroy the marker
		end
		
end)