![]() |
pl:allplayers
is there a way to get all players in a loop like that, but for members of a guild only?
i tried passing params and putting PHP Code:
|
PHP Code:
|
ha, im dumb. yeah.
|
Quote:
|
Quote:
|
I don't use brackets for one line, but I keep it on the same line as the check to keep it organized.
|
Been discussed, basically. It's all about preference. Personally, I don't use brackets for single lines. I just don't see the need to do it. My code is readable perfectly fine, and if anything breaks the indents, it's not my fault.
|
If it's a single line and it's short enough, I usually just stack them both into one line
HTML Code:
if (a) |
I prefer brackets, although my head doesn't always remind me so sometimes it doesn't happen. xD
|
It really depends on the statement for me, but if it's a little more complex, I'll usually use brackets. (Even if I could fit either instance on one line, it's more about readability than trying to condense your code)
|
| All times are GMT +2. The time now is 03:16 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.