Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Linear Mode
Question about DMG
Vince
Spam Machine
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
#2
18.01.2017, 15:48
GetDistanceBetweenPlayers(). Then use something like damage = 100 - distance. Optionally add a negative or positive multiplier to decrease/increase the damage, e.g. x0.85 for 85% damage or x1.25 for 125% damage.
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
Question about DMG
- by
AndreiWow
- 18.01.2017, 15:44
Re: Question about DMG
- by
Vince
- 18.01.2017, 15:48
Re: Question about DMG
- by
Logic_
- 18.01.2017, 15:50
Re: Question about DMG
- by
AndreiWow
- 18.01.2017, 15:58
Re: Question about DMG
- by
Vince
- 18.01.2017, 17:14
Re: Question about DMG
- by
GoldenLion
- 18.01.2017, 19:53
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help