qiangqiang101 Posted April 29, 2016 Share Posted April 29, 2016 for example im riding a lazer, it has VEHICLE_WEAPON_PLANE_ROCKET and VEHICLE_WEAPON_PLAYER_SAVAGE, how to get the weapon of the lazer currently using? I try Native.Function.Call(Of Boolean)(Hash.GET_CURRENT_PED_VEHICLE_WEAPON, Game.Player.Character.Handle, Native.Function.Call(Of Integer)(Hash.GET_HASH_KEY, "VEHICLE_WEAPON_PLAYER_SAVAGE")) = True then game crash Kryo4lex 1 Link to comment Share on other sites More sharing options...
qiangqiang101 Posted April 29, 2016 Author Share Posted April 29, 2016 (edited) ok problem solved. http://www.dev-c.com/nativedb/func/info/1017582bcd3832dc Edited April 29, 2016 by qiangqiang101 Kryo4lex and Jitnaught 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now