09.10.2014, 11:28
Quote:
Here i've made a Throwing knife thing, which detects the Player in front of you and removes some health.
http://pastebin.com/qeSBDWDd This will help you, If you want me to explain the script, just reply i'll do it |
pawn Код:
tmpang = (90-atan2(tmpy-y, tmpx-x));
if(tmpang < 0) tmpang = 360.0+tmpang;
if(floatabs(tmpang-r) < 5.0)