Posts: 285
Threads: 154
Joined: Mar 2016
Reputation:
0
Hi,
Is there a function to know specific weapon id max shoot distance? i mean when you shoot to player what max distance could by between them
Posts: 3,324
Threads: 96
Joined: Sep 2013
15.03.2016, 05:16
(
Последний раз редактировалось Crayder; 15.03.2016 в 06:17.
)
No, there is not.
However, if you use Slice's weapon config include there is (in fact they are pulled right from the default GTA weapon configuration) and a lot more. You can even SET the max distance of each weapon with it!
Posts: 539
Threads: 30
Joined: Feb 2015
Reputation:
0
You can simulate one using a script. You could use OnPlayerWeaponShot, check the position where the player shot the gun and then the coordinates where the bullet stopped.