SA-MP Forums Archive
[HOW]Hour passes and he/she gets +1 Score??? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HOW]Hour passes and he/she gets +1 Score??? (/showthread.php?tid=242107)



[HOW]Hour passes and he/she gets +1 Score??? - vakhtang - 19.03.2011

Here is Part Of A Code where I need help and plz help me with it: :
pawn Код:
public OnGameModeInit()
{
    new file[256];
for(new i; i < MAX_PLAYERS; i ++)
    {
        if(dini_IntSet(file,"Job",PlayerInfo[i][pJob] = 29))
        {
            dini_IntSet(file,"Job",PlayerInfo[i][pJob] = 0);
            SendClientMessage(i,COLOR_WHITE,"PAYDAY +SCORE");
        }
    }
return 1;
}



Re: [HOW]Hour passes and he/she gets +1 Score??? - Roomeo - 19.03.2011

To give Score
pawn Код:
SetPlayerScore(playerid,GetPlayerScore(playerid)+1);