21.12.2015, 19:13
Thank you all! I have 2 more situations 
What is better of these options:
1.1 Option:
1.2 option:
And question: If i already define one big string, ex: string[500]; and i use it for dialog, can i use that for more functions in that public, ex:
Is there better to define one more string for this small message or it dont needed??

What is better of these options:
1.1 Option:
Код:
public Plata() { new bank = 1; foreach(Player, i) { if(gPlayerLogged[i] == 1) { if(PlayerInfo[i][pVip] > 1) bank = 5; GiveMoney(i, money*bank); ..
Код:
public Plata() { foreach(Player, i) { if(gPlayerLogged[i] == 1) { new bank = 1; if(PlayerInfo[i][pVip] > 1) bank = 5; GiveMoney(i, money*bank); ..
Код:
new string[500]; format(string, sizeof(string), "Big message with 490 characters"); ShowPlayerDialog(i, PLATA, DIALOG_STYLE_MSGBOX, "Bankarski izvestaj gradjana", string, "U redu", ""); format(string, sizeof(string), "Small message with 30 characters"); SendClientMessage(i, Color, string);