Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Filterscripts
Includes
Pages (2):
« Previous
1
2
Threaded Mode
[Include] Get Nearest
T0pAz
Unregistered
#21
28.02.2012, 15:25
Quote:
Originally Posted by
RyDeR`
Simple make use of the
GetPlayerPos
' return value:
pawn Код:
if
(
GetPlayerPos
(
i, ox, oy, oz
)
&&
i
!=
playerid
)
{
// Player is connected, do stuff..
}
I will make a test and see if it's efficient or not.
Reply
wups
High-roller
Posts: 1,216
Threads: 59
Joined: Apr 2010
Reputation:
0
#22
28.02.2012, 16:40
Quote:
Originally Posted by
T0pAz
I will make a test and see if it's efficient or not.
I don't understand what's to test here? You just use one function less.
Find
Reply
T0pAz
Unregistered
#23
28.02.2012, 16:54
Quote:
Originally Posted by
wups
I don't understand what's to test here? You just use one function less.
I still need to test it for bugs.
Reply
«
Next Oldest
|
Next Newest
»
Pages (2):
« Previous
1
2
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
Filterscripts
Includes