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
IsPlayerInRangeOfPoint not working
Jstylezzz
High-roller
Posts: 1,861
Threads: 103
Joined: Sep 2011
Reputation:
0
#4
02.03.2013, 11:30
Quote:
Originally Posted by
Kiyozi_Mu
Change to
pawn Code:
if
(
IsPlayerInRangeOfPoint
(
playerid,
5.0
,GInfo
[
i
]
[
GOutX
]
,GInfo
[
i
]
[
GOutY
]
,GInfo
[
i
]
[
GOutZ
]
)
)
you use GOutZ 2times and not using the GOutY..
Daaaamn, do I feel stupid, this must be it, thanks alot for pointing it out!
@davve95 - Thanks for suggesting that, I will increase the range anyways since you need to be detected in a car
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
IsPlayerInRangeOfPoint not working
- by
Jstylezzz
- 02.03.2013, 10:54
Re: IsPlayerInRangeOfPoint not working
- by
davve95
- 02.03.2013, 11:26
Re: IsPlayerInRangeOfPoint not working
- by
RenovanZ
- 02.03.2013, 11:26
Re: IsPlayerInRangeOfPoint not working
- by
Jstylezzz
- 02.03.2013, 11:30
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: 4 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help