Posts: 220
Threads: 41
Joined: Jun 2007
Reputation:
0
I'm intrigued now because of what a guy said that with the bodydetection include you can shoot pleople from behind walls.
Is there a way to calculate line of sight in SAMP? (not waiting for the next release, if it does have a check like this).
We would need the x, y & z values from all the buildings or terrain to check that, right?
Posts: 1,363
Threads: 14
Joined: Apr 2009
Reputation:
0
yes you would unless your map was 100% custom objects
Posts: 93
Threads: 11
Joined: Dec 2007
Reputation:
0
If you only needed it so that you can give more damage to the gun then you could just check if the player's aiming at a person and fired then you can check the player's health to see if it has decreased.