|
Meh, It would probably be nicer if you gave them the CP when they log on.
If you create a new row on the characters table called DailyCP, Tell it to bring it up in database.cs and add a SaveDailyCP(); function...
Then on the NPC add
if (DailyCP == 0)
{
blah & have CPs
DailyCP = 1;
SaveDailyCP();
}
else
{
already have cps blah
}
I wouldnt recommend a CP per day thing though, people will just make loads of accounts to make loads of money.
|