Cps for player 1 time in day ??

08/17/2009 14:52 rider1992#1
Hey,
can any say me how i can make it??
i will give all players 1 time in day free cps .
if players login eh get thecps but only 1 time in day and not all login

ty for help guys


i use 2.7 bina
08/17/2009 14:59 danielachraf#2
add me [Only registered and activated users can see links. Click Here To Register...]
08/18/2009 12:51 rider1992#3
or can make me one a npc who give cps for voting?? 1time in a day PLS HELP HELP HELP ^^ if any help he get a paysafecard from me

ps:HELPP ^^ i will pay for it 10€
08/18/2009 14:03 Genius02#4
make an npc that gives u cps is easy lol just look some guides around here they might help u:)
08/18/2009 15:21 rider1992#5
xD no i i will a npc who give the player in a day only 1time cps not more alll 24h 20 k cps more not
08/18/2009 16:59 killermickle#6
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.
08/18/2009 17:27 f0am#7
Quote:
Originally Posted by killermickle View Post
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.
tqbin is different
08/18/2009 19:06 killermickle#8
Quote:
Originally Posted by f0am View Post
tqbin is different
Oh i missed the binary part... my bad xD
08/19/2009 01:29 TehPwnzor#9
Quote:
Originally Posted by killermickle View Post
Oh i missed the binary part... my bad xD
even if he tried that you forgot he would need to define daily cps and make a SaveDailyCPs void
08/19/2009 01:39 killermickle#10
Quote:
Originally Posted by TehPwnzor View Post
even if he tried that you forgot he would need to define daily cps and make a SaveDailyCPs void
I doubt he would be able to do all of that on his own, & I told him to implement SaveDailyCPs (In char&db) nub.
08/19/2009 01:46 TehPwnzor#11
still needs to define you "nub"