function rocket()
theVehicle = getPedOccupiedVehicle(lplay)
if (bindTrigger == 1) and (not isPlayerDead(lplay)) and (isElement(theVehicle)) then
bindTrigger = 0
local x,y,z = getElementPosition(theVehicle)
local rX,rY,rZ = getVehicleRotation(theVehicle)
local x = x+4*math.cos(math.rad(rZ+90))
local y = y+4*math.sin(math.rad(rZ+90))
createProjectile(theVehicle, 19, x, y, z, 1.0, nil)
setTimer(allowShoots, 3500, 1)