03.09.2011, 09:16
Hi , when im put this
in this code:
i get sompile like this
but when I remove
from code .
i get normal compile:
Im worried about that...
Whats wrong ?
pawn Код:
SaveAccounts();
pawn Код:
public PayDay()
{
for(new i = 0; i < MAX_PLAYERS; i++)
if(IsPlayerConnected(i))
{
new str1[128],str2[128],str3[128];
format(str1,sizeof(str1),"** Old Balance = %d $",GetPlayerMoney(i));
format(str2,sizeof(str2),"** Incoming Tax = %d $",GetPlayerScore(i)*1000);
format(str3,sizeof(str3),"** New Balance = %d $",GetPlayerScore(i)*1000+GetPlayerMoney(i));
scm(i,COLOR_ORANGE,"============ PAYDAY ============");
scm(i,COLOR_GREY,str1);
scm(i,COLOR_GREY,str2);
scm(i,COLOR_DORANGE,"________________________________");
GivePlayerMoney(i,GetPlayerScore(i)*1000);
scm(i,COLOR_GREEN,str3);
scm(i,COLOR_ORANGE,"================================");
pData[i][RespectP]+=1;
SaveAccounts(); // here is
}
return 1;
}
but when I remove
pawn Код:
SaveAccounts();
i get normal compile:
Im worried about that...
Whats wrong ?