Is there a method to efficiently detect if a player is on top of an object? I mean IsPlayerInRangeOfPoint can cause a lot of problems, if there are a lot of objects around the player.
You could try and use ColAndreas ( https://sampforum.blast.hk/showthread.php?tid=560218 ) , there was a dude trying to do a FlashBang system on the same principle,the IsPlayerInRangeOfPoint can work if the thing you want to make is not Dynamic and you just want it set to a certain point otherwise use the ColAndreas.