21.12.2015, 11:32
Did you mean something like this?
Код:
new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); new Float:dis = GetPlayerDistanceFromPoint(playerid, tInfo[tower][tower_Pos][0], tInfo[tower][tower_Pos][1], z);