Bullet projectiles.
#1

So in san Andreas, the game uses a hitscan based system where the bullet is instant. What I would like to know is it possible to create a projectile system like in newer fps games where you have to compensate for the distance your firing from and it's not the first one to point and click. I looked around and all I could find was this video on a mod for San Andreas that adds this function.
https://www.youtube.com/watch?v=YL-wDgGV_VA
Thanks.
Reply
#2

you want to create visible projectile?
you could use small object and loop throw trajector public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) has everything you need.
Reply
#3

Yes, it should be possible.
I recommend you look up ColAndreas, and also pick up a book or study online about Trigonometry.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)