i need somheting that returns the distance (in pixel i hope) between the bot and the x and y (or a player)
Forum
CS2D Scripts distance between botdistance between bot
1 Antwort 1
i need somheting that returns the distance (in pixel i hope) between the bot and the x and y (or a player)
1
math.sqrt((bot_x - player_x)^2 + (bot_y - player_y)^2)
1