12.06.2017, 01:56
PHP код:
if (hitid - hittype < 10)
Assuming you're testing with a friend, his id would be 1, the BULLET_HIT_TYPE_PLAYER (which is what the callback will return for the hittype value) is defined as 1, 1 - 1 is zero which is less than 10, the conditional statement is true.