|
|
|
|
![]() ![]() |
Feb 20 2008, 11:35 AM
Post
#11
|
|
|
Newbie [ Level 2 ] Group: Members Posts: 23 Joined: 24-October 07 Member No.: 25,689 |
I don't know why my suggestion can not slove Feelay's problem ?
I make a column name 'last_received_points' which stores the last time he was received the bonus (supposing $last_received_points holds the last lever he was received bonus skillpoints) then I combine with his lever, so it would exactly update just in once time CODE if ($user_level==5 and $last_received_points<5) { update skillpoints; } if the user QUOTE "buy" health and strenght and stuff for theese points I think it does not effect the last time he received bonus (or you can update it indepently if the user done sth above... if you want) |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 5th December 2008 - 02:06 AM |