Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: PLAYER on Aug 27, 2024, 02:00 PM

Title: How to Get Distance when we kill someone
Post by: PLAYER on Aug 27, 2024, 02:00 PM
Hey Guys I want Distance Function like when someone kill other player the message
[#1FFFF9]>> Gabar[#FFF11B] killed [#FF0000] barosanu[#FFF11B] Weapon: [[#6BFF46]M4[#FFF11B]] [#FFF11B]Ping:[#1FFFF9][166] Distance: ( This )
Title: Re: How to Get Distance when we kill someone
Post by: PLAYER on Aug 27, 2024, 02:01 PM
I want only Distance Function if someone have then share with me
Title: Re: How to Get Distance when we kill someone
Post by: umar4911 on Aug 27, 2024, 06:39 PM
DistanceFromPoint(killer.Pos.x, killer.Pos.y, player.Pos.x, player.Pos.y)