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
Discussion
Threaded Mode
IsPlayerInRangeOfPoint possible to convert in Java?
Gorgeousmaniac
Big Clucker
Posts: 100
Threads: 33
Joined: Aug 2016
Reputation:
0
#1
23.09.2016, 21:24
Is it possible to convert IsPlayerInRangeOfPoint from pawn to java? I know this sounds complex but, spending a couple of hours trying to figure out a /me command java with a designated range alone is so complicated.
Find
Reply
Spmn
Gangsta
Posts: 513
Threads: 4
Joined: Jun 2015
Reputation:
0
#2
23.09.2016, 23:09
1) get player position
2) calculate distance from player to point
3) check if (distance <= radius)
Find
Reply
Gorgeousmaniac
Big Clucker
Posts: 100
Threads: 33
Joined: Aug 2016
Reputation:
0
#3
24.09.2016, 19:01
Quote:
Originally Posted by
Spmn
1) get player position
2) calculate distance from player to point
3) check if (distance <= radius)
Thanks man!
Find
Reply
«
Next Oldest
|
Next Newest
»
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: 2 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Discussion