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
[HELP] Up to ID a bug
Vince
Spam Machine
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
#5
10.10.2011, 14:41
Quote:
Originally Posted by
aRoach
foreach or:
pawn Код:
for
(
new
i
=
0
; i
<=
MAX_PLAYERS; i
++
)
That is wrong, it should be
pawn Код:
for
(
new
i
=
0
; i
<
MAX_PLAYERS; i
++
)
Quote:
Originally Posted by
Dragony92
But it's better to use foreach because foreach is calling only for connected user ids...
We're talking about mere nanoseconds here.
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
[HELP] Up to ID a bug
- by
cotonete
- 10.10.2011, 13:42
Re: [HELP] Up to ID a bug
- by
Dragony92
- 10.10.2011, 13:52
Re: [HELP] Up to ID a bug
- by
aRoach
- 10.10.2011, 13:53
Re: [HELP] Up to ID a bug
- by
Dragony92
- 10.10.2011, 13:55
Re: [HELP] Up to ID a bug
- by
Vince
- 10.10.2011, 14:41
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: 3 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help