Optimizing this code
#3

Quote:
Originally Posted by NaS
Посмотреть сообщение
Use GetPlayerDistanceFromPoint().

It does the same math but with 6 less native calls (you don't need to do GetPlayerPos(), furthermore each float operation is one native call, since PAWN can't do that).
Thank you very much!
Reply


Messages In This Thread
Optimizing this code - by Uberanwar - 20.05.2018, 21:20
Re: Optimizing this code - by NaS - 21.05.2018, 06:58
Re: Optimizing this code - by Uberanwar - 21.05.2018, 07:54

Forum Jump:


Users browsing this thread: 2 Guest(s)