OnPlayerWeaponShot when shooting a driver/passenger
#5

Quote:
Originally Posted by RogueDrifter
View Post
You can check for hittype 2 and loop through all players if GetPlayerVehicleID(i) = hitid (hitid = vehicle id that was hit) (i = the player picked out the loop) then set a variable to mark that the player riding this vehicle got his vehicle shot and never use it in any other way because what he stated above will fuck it, so you need to detect shots shot for players driving under hittype 2 and a loop, then detect shots shot only for onfoot players (separating them via using GetPlayerState) not sure if u understand me but i used that on my in-process anti gm i'll release soon and i didnt get false positive for the matter that was stated above.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)