Detect People close to a tear gas
#1

How can i detect Players close to an "expldoing" tear gas (ID 17) and run a timer for them ?

As
Код:
If PlayerToPos(grenadkoords)
{
SetTimerEx("func",otherparams)
}
Reply
#2

You can't unless it's a scripted tear gas.
Reply
#3

You could get the average distance the player throws a can of teargas and use GetXYInFrontOfPlayer+PlayerToPos.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)