I do not know if something is missing but the missile does not activate me: Rocket in the shamal from the createprojectile, I do not know if it would be wrong but I pass the file if you can see
function shootProjectile()
local vehicle = getPedOccupiedVehicle(localPlayer)
-- Only create projectile if we are inside a vehicle
if(519)then
local x, y, z = getElementPosition(519)
createProjectile(519, 19, x, y, z)
end
end
bindKey("Ctrl", "down", shootProjectile)
Insert image from URL