01.09.2015, 14:04
Hello!
I'm trying to make a basic zombie actor, and the problem is a zombie 'chasing' the player, that is actor moving 1 unit closer to a player.
Of course, I have this:
Now what I'm supposed to do in SetActorPos now? Some complicated math I guess?
I'm trying to make a basic zombie actor, and the problem is a zombie 'chasing' the player, that is actor moving 1 unit closer to a player.
Of course, I have this:
Код:
new Float:zX, Float:zY, Float: zZ; GetActorPos(AZombie[i][zAZ], zX, zY, zZ); new Float:pX, Float:pY, Float: pZ; GetPlayerPos(playerid, pX, pY, pZ);
![shocked](images/smilies/eek.png)