Question for strings
#1

I have one public for payday, and which option is better, and why?:

1. option
Код:
public PayDay()
{
foreach(Player, i)
    {
    if(IsPlayerConnected(i) && gPlayerLogged[i] == 1)
      {
		if(PlayerInfo[i][pPayDay] < 5) return 1;
	    new coordstring[64], coordstring1[32], coordstring2[50], coordstring3[45], coordstring4[80], coordstring5[45], coordstring6[50], coordstring7[48];
        new coordstring8[80], coordstring9[35], coordstring10[50], coordstring11[72], coordstring12[50], coordstring13[45], coordstring15[75], payday[830];
...
2. option
Код:
public PayDay()
{
new coordstring[64], coordstring1[32], coordstring2[50], coordstring3[45], coordstring4[80], coordstring5[45], coordstring6[50], coordstring7[48];
        new coordstring8[80], coordstring9[35], coordstring10[50], coordstring11[72], coordstring12[50], coordstring13[45], coordstring15[75], payday[830];
foreach(Player, i)
    {
    if(IsPlayerConnected(i) && gPlayerLogged[i] == 1)
      {
		if(PlayerInfo[i][pPayDay] < 5) return 1;
...
Reply


Messages In This Thread
Question for strings - by DusanInfinity - 21.12.2015, 10:03
Re: Question for strings - by RoboN1X - 21.12.2015, 10:08
Re: Question for strings - by DusanInfinity - 21.12.2015, 10:15
Re: Question for strings - by Vince - 21.12.2015, 10:21
Re: Question for strings - by jamesbond007 - 21.12.2015, 11:41
Re: Question for strings - by Mic_H - 21.12.2015, 13:09
Re: Question for strings - by DusanInfinity - 21.12.2015, 19:13
Re: Question for strings - by AmigaBlizzard - 21.12.2015, 20:31
Re: Question for strings - by SickAttack - 21.12.2015, 21:48
Re: Question for strings - by DusanInfinity - 22.12.2015, 19:23

Forum Jump:


Users browsing this thread: 1 Guest(s)