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
Threaded Mode
Question
[rG]Cold
Huge Clucker
Posts: 234
Threads: 53
Joined: Aug 2012
Reputation:
0
#1
17.11.2012, 03:51
Hello.
How can i check if 2 or more players are in the same checkpoint at the same time?
Find
Reply
Ballu Miaa
High-roller
Posts: 1,849
Threads: 96
Joined: Apr 2010
Reputation:
0
#2
17.11.2012, 04:32
Create a Timer! A simple one!
Which will call a callback each second!
The callback will check that IsPlayerInRangeOfpOint for the both players. In case it is true it will return 1 and kills the timer! else return 0;
Find
Reply
[rG]Cold
Huge Clucker
Posts: 234
Threads: 53
Joined: Aug 2012
Reputation:
0
#3
17.11.2012, 22:05
Quote:
Originally Posted by
Ballu Miaa
Create a Timer! A simple one!
Which will call a callback each second!
The callback will check that IsPlayerInRangeOfpOint for the both players. In case it is true it will return 1 and kills the timer! else return 0;
Thanks! Done!
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