SetEntityRotation(entity, 0, 0, 5, false, true)
You are using ints, it should be floats. So 0.0, not 0.