Quote:
Originally Posted by TheBlackHand
PHP код:
stock GetXYInFrontOfPlayer( &Float:x, &Float:y,Float:a, Float:distance)
{
x += (distance * floatsin(-a, degrees));
y += (distance * floatcos(-a, degrees));
}
|
Thx for CODE, but dont work for me, NPC stops and does not shoot I'm looking for a CODE that detects walls without stopping it.
Someone can help me?