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
HEADSHOT DISTANCE HELP
Deadpoop
Big Clucker
Posts: 131
Threads: 4
Joined: Jul 2016
Reputation:
0
#2
25.07.2016, 15:26
PHP код:
GetPlayerPos
(
target
,
x
,
y
,
z
);
fDistance
=
GetPlayerDistanceFromPoint
(
playerid
,
x
,
y
,
z
);
You get distance from yourself not from the player you shot!
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
HEADSHOT DISTANCE HELP
- by
Hunud
- 25.07.2016, 15:15
Re: HEADSHOT DISTANCE HELP
- by
Deadpoop
- 25.07.2016, 15:26
Re: HEADSHOT DISTANCE HELP
- by
Hunud
- 25.07.2016, 17:57
Re: HEADSHOT DISTANCE HELP
- by
DRIFT_HUNTER
- 25.07.2016, 18:09
Re: HEADSHOT DISTANCE HELP
- by
PrO.GameR
- 25.07.2016, 23:07
Re: HEADSHOT DISTANCE HELP
- by
Logic_
- 26.07.2016, 11:19
Re: HEADSHOT DISTANCE HELP
- by
Bolex_
- 26.07.2016, 11:22
Re: HEADSHOT DISTANCE HELP
- by
GhostHacker
- 26.07.2016, 12:46
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