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
Issue with loop
Threshold
High-roller
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
#3
28.08.2016, 13:21
PHP код:
GetPlayerPos
(
i
,
x
,
y
,
z
);
if(
IsPlayerInRangeOfPoint
(
i
,
2
,
x
,
y
,
z
))
{
AFK
[
i
]++;
}
This will almost always be considered 'true'... so even if players aren't AFK and are constantly moving, the server will still consider them 'AFK'.
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
Issue with loop
- by
Tass007
- 28.08.2016, 09:43
Re: Issue with loop
- by
jlalt
- 28.08.2016, 09:50
Re: Issue with loop
- by
Threshold
- 28.08.2016, 13:21
Re: Issue with loop
- by
Tass007
- 29.08.2016, 01:26
Re: Issue with loop
- by
Jefff
- 29.08.2016, 01:57
Re: Issue with loop
- by
Threshold
- 29.08.2016, 02:28
Re: Issue with loop
- by
Tass007
- 29.08.2016, 03:05
Re: Issue with loop
- by
Threshold
- 29.08.2016, 06:33
Re: Issue with loop
- by
Jefff
- 29.08.2016, 14:52
Re: Issue with loop
- by
Tass007
- 01.09.2016, 11:47
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