47 {
49
50
51 if (!Math.IsInRange(partPos[1], centerPos[1] - m_NegativeHeight, centerPos[1] + m_PositiveHeight))
52 partPos[1] = centerPos[1];
53
54 props.Insert(ParticleProperties(partPos, ParticlePropertiesFlags.PLAY_ON_CREATION, null,
GetGame().GetSurfaceOrientation( partPos[0], partPos[2] ),
this));
55 ++count;
56 }
proto native float SurfaceRoadY(float x, float z, RoadSurfaceDetection rsd=RoadSurfaceDetection.LEGACY)
proto native CGame GetGame()