Whats better and why
#5

There's no difference. And yes you need to use IsPlayerConnected inside the loop because https://sampwiki.blast.hk/wiki/GetPlayerPoolSize

So you still need to check the ids are connected to the server.

And on another note, foreach is faster and better.
Reply


Messages In This Thread
Whats better and why - by NoteND - 24.03.2019, 19:48
Re: Whats better and why - by SymonClash - 24.03.2019, 19:58
Re: Whats better and why - by Heress - 24.03.2019, 20:00
Re: Whats better and why - by NoteND - 24.03.2019, 20:03
Re: Whats better and why - by Gammix - 24.03.2019, 21:44

Forum Jump:


Users browsing this thread: 1 Guest(s)