R1ch4rd
Like a baaaws
Code:
incStatsSL(Stat, Amount)
{
CurrentStat = self getPlayerData(Stat);
i = (CurrentStat + Amount);
self setPlayerData(Stat, i );
}
Works by setting i as the current data, then adding whatever you want onto it, and using setPlayerData to set both added together as the score/kills/wins.
This has been tested by me, and works 100%.
Eg:
Code:
incStatsSL("score", 100000);
Enjoy!