View Single Post
LondoN
Senior Member
Join Date: Dec 2015
Location: Roman, Romania.
Old 04-04-2021 , 02:00   Re: why this not work?
Reply With Quote #3

Quote:
Originally Posted by Bugsy View Post
1. Dont code like that, it kills readability.

2. Change

new iEntity = taskid

to

new iEntity = taskid - TASK_CHECK_ORIGIN;
Code:
#define ID_ORIGIN	(taskid - TASK_CHECK_ORIGIN)
Code:
new iEntity = ID_ORIGIN;
i can't understand why isn't working. distance from the ground (spawnpoint) must be in the range (curentorigin-spawnorigin >= max_range in air, then slay
__________________
LondoN is offline