21.12.2013, 18:54
Here is basic idea.
pawn Код:
if(newkeys == KEY_SECONDARY_ATTACK)
{
if(IsPlayerInRangeOfPoint(playeid,2,x,y,z))
{
//enter him
}
}