18.03.2017, 15:20
(
Последний раз редактировалось Gammix; 18.03.2017 в 19:09.
)
Update v1.3:
Quick update v1.3.2:
- Now timer is one global one since multiple timers were causing trouble since they are SAMP timers!
- Fixed simulation going under ground due to min_height calculation.
- "acceleration" has been removed from Projectile(..) function.
- Now detecting max and min heights is much better using CA_RayCastLine instead of CA_RayCastLineAngle and there is a workaround done if no collision is detected.
- Collision detection made more accurate with SA world and Players (players are treated as an object as well so the projectile will rotate accordingly!)
- "OnProjectileCollide" callback updated with new parameters:
PHP код:forward OnProjectileCollide(projid, type, Float:x, Float:y, Float:z, modelid);
- New function "PushProjectile", lets you add to current velocity:
PHP код:PushProjectile(projid, Float:vx, Float:vy, Float:vz);
Quick update v1.3.2:
- Now timer is one global one since multiple timers were causing trouble since they are SAMP timers!
- Fixed simulation going under ground due to min_height calculation.