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
Help Archive
Threaded Mode
Detect if player is near object
VoViNaToR
Little Clucker
Posts: 37
Threads: 6
Joined: Feb 2009
Reputation:
0
#1
12.02.2011, 15:09
Is there any function to detect if player is at object, like example: IsPlayerAtObject....(Objectid); something like this ?
Find
Reply
HyperZ
High-roller
Posts: 1,341
Threads: 17
Joined: Aug 2009
Reputation:
0
#2
12.02.2011, 15:11
I think No, But you can use this:
https://sampwiki.blast.hk/wiki/Areacheck
http://forum.sa-mp.com/showthread.ph...ight=Areacheck
Find
Reply
VoViNaToR
Little Clucker
Posts: 37
Threads: 6
Joined: Feb 2009
Reputation:
0
#3
12.02.2011, 15:15
Ok thanks then i will make it like /dropobject it will save objects x y z and if player is at right cords he can pick it up.
Find
Reply
HyperZ
High-roller
Posts: 1,341
Threads: 17
Joined: Aug 2009
Reputation:
0
#4
12.02.2011, 15:17
Quote:
Originally Posted by
VoViNaToR
Ok thanks then i will make it like /dropobject it will save objects x y z and if player is at right cords he can pick it up.
1st Read
This
and
This
Find
Reply
VoViNaToR
Little Clucker
Posts: 37
Threads: 6
Joined: Feb 2009
Reputation:
0
#5
12.02.2011, 15:24
Thanks it is very useful
Find
Reply
Medal Of Honor team
Gangsta
Posts: 508
Threads: 34
Joined: Feb 2011
Reputation:
0
#6
12.02.2011, 15:35
I want that too. It's Like IsPlayerInRangeOfObject
Find
Reply
HyperZ
High-roller
Posts: 1,341
Threads: 17
Joined: Aug 2009
Reputation:
0
#7
12.02.2011, 15:59
Ohh, You can use
This
too With Object x y z cords, use it On OnPlayerUpdate callback.
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: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive