No need to "convert". Implementing the function in MTA will do the trick.
function AddStaticVehicle(modelid, spawn_x, spawn_y, spawn_z, angle, color1, color2)
local vehicle = createVehicle(modelid, spawn_x, spawn_y, spawn_z, 0, 0, angle)
local c1, c2, c3, c4 = getVehicleColor(vehicle)
setVehicleColor(vehicle, color1, color2, c3, c4)
toggleVehicleRespawn(vehicle, true)
setVehicleRespawnDelay(vehicle, 60000)
return vehicle
end
Add this function to the script and then you can call AddStaticVehicle.