Compile Worried ://
#1

Hi , when im put this
pawn Код:
SaveAccounts();
in this code:
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;
}
i get sompile like this

but when I remove
pawn Код:
SaveAccounts();
from code .
i get normal compile:

Im worried about that...
Whats wrong ?
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=182210
Check this topic.
Reply
#3

Please provide us, what is under "SaveAccounts();" stock.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)