09.02.2012, 12:11
Yeah, I wanted to do the same.
I thought of a workaround where I would define my own polygons (building + object bounds) then check if the line between the turret and the player intersected.
Take a look at my topic, Y_Less posted a good answer!
https://sampforum.blast.hk/showthread.php?tid=314635
Note: On my diagram, think of "Point A" as the 'turret' and Points B and C as player positions, and the weird shape as a badly designed building!
I thought of a workaround where I would define my own polygons (building + object bounds) then check if the line between the turret and the player intersected.
Take a look at my topic, Y_Less posted a good answer!
https://sampforum.blast.hk/showthread.php?tid=314635
Note: On my diagram, think of "Point A" as the 'turret' and Points B and C as player positions, and the weird shape as a badly designed building!